2018-12-25 14:41:02 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib, gcr
|
2018-12-02 03:41:15 -08:00
|
|
|
, gobject-introspection, liboauth, gnome3, p11-kit, openssl, uhttpmock }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-12-24 19:11:30 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-02 17:00:37 -08:00
|
|
|
pname = "libgdata";
|
|
|
|
version = "0.17.9";
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-24 19:11:30 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-10-02 18:11:19 -07:00
|
|
|
sha256 = "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45";
|
2016-09-18 12:35:23 -07:00
|
|
|
};
|
|
|
|
|
2018-12-24 19:11:30 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
|
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
buildInputs = [ gnome3.libsoup libxml2 glib liboauth gcr gnome3.gnome-online-accounts p11-kit openssl uhttpmock ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-02-24 18:23:58 -08:00
|
|
|
propagatedBuildInputs = [ json-glib ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-03-02 17:00:37 -08:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none"; # Stable version has not been updated for a long time.
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 12:35:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GData API library";
|
2018-03-02 17:00:37 -08:00
|
|
|
homepage = https://wiki.gnome.org/Projects/libgdata;
|
2016-09-18 12:35:23 -07:00
|
|
|
maintainers = with maintainers; [ raskin lethalman ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
};
|
|
|
|
}
|