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