gnome3.gexiv2: add updateScript
This commit is contained in:
parent
f87ea24451
commit
7af72719f1
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, exiv2, glib, gnome3, gobjectIntrospection, vala }:
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, exiv2, glib, gnome3, gobjectIntrospection, vala }:
|
||||||
|
|
||||||
let
|
let
|
||||||
majorVersion = "0.10";
|
pname = "gexiv2";
|
||||||
|
version = "0.10.7";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gexiv2-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "${majorVersion}.7";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gexiv2/${majorVersion}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "1f7312zygw77ml37i5qilhfvmjm59dn753ax71rcb2jm1p76vgcb";
|
sha256 = "1f7312zygw77ml37i5qilhfvmjm59dn753ax71rcb2jm1p76vgcb";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -33,9 +33,17 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ glib ];
|
buildInputs = [ glib ];
|
||||||
propagatedBuildInputs = [ exiv2 ];
|
propagatedBuildInputs = [ exiv2 ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Projects/gexiv2;
|
homepage = https://wiki.gnome.org/Projects/gexiv2;
|
||||||
description = "GObject wrapper around the Exiv2 photo metadata library";
|
description = "GObject wrapper around the Exiv2 photo metadata library";
|
||||||
|
license = licenses.gpl2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user