mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
36 lines
1.2 KiB
Nix
36 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib, gcr
|
|
, 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${gcr}/include/gcr-3 -I${gcr}/include/gck-1";
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
|
|
|
|
buildInputs = [ gnome3.libsoup libxml2 glib liboauth gcr gnome3.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;
|
|
};
|
|
}
|