Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 35 lines 1.2 kB view raw
1{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib, gcr 2, gobject-introspection, liboauth, gnome3, p11-kit, openssl, uhttpmock }: 3 4stdenv.mkDerivation rec { 5 pname = "libgdata"; 6 version = "0.17.9"; 7 8 src = fetchurl { 9 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 sha256 = "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"; 11 }; 12 13 NIX_CFLAGS_COMPILE = "-I${gnome3.libsoup.dev}/include/libsoup-gnome-2.4/ -I${gcr}/include/gcr-3 -I${gcr}/include/gck-1"; 14 15 nativeBuildInputs = [ pkgconfig intltool gobject-introspection ]; 16 17 buildInputs = [ gnome3.libsoup libxml2 glib liboauth gcr gnome3.gnome-online-accounts p11-kit openssl uhttpmock ]; 18 19 propagatedBuildInputs = [ json-glib ]; 20 21 passthru = { 22 updateScript = gnome3.updateScript { 23 packageName = pname; 24 versionPolicy = "none"; # Stable version has not been updated for a long time. 25 }; 26 }; 27 28 meta = with stdenv.lib; { 29 description = "GData API library"; 30 homepage = https://wiki.gnome.org/Projects/libgdata; 31 maintainers = with maintainers; [ raskin lethalman ]; 32 platforms = platforms.linux; 33 license = licenses.lgpl21Plus; 34 }; 35}