diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-12-25 04:11:30 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-12-25 17:21:08 +0100 |
commit | d6ab3a534fc7ee156c5d457acbb122ea81d8ce2a (patch) | |
tree | c606753350761a7c4623af6ca1f4e49458972066 /pkgs/development/libraries/libgdata | |
parent | 5f77bef30b0ce4d43c3a83ae8cca34612965b347 (diff) |
libgdata: rename from gnome3.libgdata
Diffstat (limited to 'pkgs/development/libraries/libgdata')
-rw-r--r-- | pkgs/development/libraries/libgdata/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix new file mode 100644 index 0000000000000..b05468a478df8 --- /dev/null +++ b/pkgs/development/libraries/libgdata/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib +, gobject-introspection, liboauth, gnome3, p11-kit, openssl, uhttpmock }: + +stdenv.mkDerivation rec { + pname = "libgdata"; + version = "0.17.9"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"; + }; + + NIX_CFLAGS_COMPILE = "-I${gnome3.libsoup.dev}/include/libsoup-gnome-2.4/ -I${gnome3.gcr}/include/gcr-3 -I${gnome3.gcr}/include/gck-1"; + + nativeBuildInputs = [ pkgconfig intltool gobject-introspection ]; + + buildInputs = with gnome3; + [ libsoup libxml2 glib liboauth gcr gnome-online-accounts p11-kit openssl uhttpmock ]; + + propagatedBuildInputs = [ json-glib ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = 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; + }; +} |