gnome3.dconf: add updateScript
This commit is contained in:
parent
1541c31097
commit
1a91396e1a
|
@ -2,14 +2,14 @@
|
||||||
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
|
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
majorVersion = "0.26";
|
pname = "dconf";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dconf-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "${majorVersion}.1";
|
version = "0.26.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/dconf/${majorVersion}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0da587hpiqy8h3pswn1102h4b905x8k6mk3ajpi7kf4kzkvv30ym";
|
sha256 = "0da587hpiqy8h3pswn1102h4b905x8k6mk3ajpi7kf4kzkvv30ym";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -23,7 +23,16 @@ stdenv.mkDerivation rec {
|
||||||
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
|
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://wiki.gnome.org/Projects/dconf;
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue