3
0
Fork 0
forked from mirrors/nixpkgs

gnome3.folks: use updateScript

This commit is contained in:
Jan Tojnar 2017-12-26 21:07:59 +01:00
parent cc1d6fcbcb
commit 4145f5e3b0
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -5,13 +5,12 @@
# TODO: enable more folks backends # TODO: enable more folks backends
let let
majorVersion = "0.11"; version = "0.11.4";
in in stdenv.mkDerivation rec {
stdenv.mkDerivation rec { name = "folks-${version}";
name = "folks-${majorVersion}.4";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/folks/${majorVersion}/${name}.tar.xz"; url = "mirror://gnome/sources/folks/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"; sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57";
}; };
@ -30,6 +29,14 @@ stdenv.mkDerivation rec {
postBuild = "rm -rf $out/share/gtk-doc"; postBuild = "rm -rf $out/share/gtk-doc";
passthru = {
updateScript = gnome3.updateScript {
packageName = "folks";
attrPath = "gnome3.folks";
versionPolicy = "none";
};
};
meta = { meta = {
description = "Folks"; description = "Folks";