forked from mirrors/nixpkgs
gnome3.folks: use updateScript
This commit is contained in:
parent
cc1d6fcbcb
commit
4145f5e3b0
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue