nixpkgs/pkgs/desktops/gnome-3/core/libgdata/default.nix

41 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib
, gobjectIntrospection, liboauth, gnome3, p11-kit, openssl, uhttpmock }:
let
2018-03-03 02:00:37 +01:00
pname = "libgdata";
version = "0.17.9";
in
stdenv.mkDerivation rec {
2018-03-03 02:00:37 +01:00
name = "${pname}-${version}";
src = fetchurl {
2018-03-03 02:00:37 +01:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2017-10-03 03:11:19 +02:00
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";
buildInputs = with gnome3;
[ pkgconfig libsoup intltool libxml2 glib gobjectIntrospection
liboauth gcr gnome-online-accounts p11-kit openssl uhttpmock ];
propagatedBuildInputs = [ json-glib ];
2018-03-03 02:00:37 +01:00
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";
2018-03-03 02:00:37 +01:00
homepage = https://wiki.gnome.org/Projects/libgdata;
maintainers = with maintainers; [ raskin lethalman ];
platforms = platforms.linux;
license = licenses.lgpl21Plus;
};
}