gnome3.libgdata: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 02:00:37 +01:00
parent 6694dfcea1
commit 0dd7c62959
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -2,13 +2,14 @@
, gobjectIntrospection, liboauth, gnome3, p11-kit, openssl, uhttpmock }:
let
majorVersion = "0.17";
pname = "libgdata";
version = "0.17.9";
in
stdenv.mkDerivation rec {
name = "libgdata-${majorVersion}.9";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/libgdata/${majorVersion}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45";
};
@ -20,8 +21,17 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ json-glib ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
versionPolicy = "none"; # Stable version has not been updated for a long time.
};
};
meta = with stdenv.lib; {
description = "GData API library";
homepage = https://wiki.gnome.org/Projects/libgdata;
maintainers = with maintainers; [ raskin lethalman ];
platforms = platforms.linux;
license = licenses.lgpl21Plus;