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
|
||||
|
||||
let
|
||||
majorVersion = "0.11";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "folks-${majorVersion}.4";
|
||||
version = "0.11.4";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "folks-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/folks/${majorVersion}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/folks/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57";
|
||||
};
|
||||
|
||||
|
@ -30,6 +29,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postBuild = "rm -rf $out/share/gtk-doc";
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = "folks";
|
||||
attrPath = "gnome3.folks";
|
||||
versionPolicy = "none";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Folks";
|
||||
|
||||
|
|
Loading…
Reference in a new issue