gnome3.libgdata: add updateScript
This commit is contained in:
parent
6694dfcea1
commit
0dd7c62959
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user