1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{ stdenv
, lib
, fetchurl
, pkg-config
, glib
, librest
, gnome-online-accounts
, gnome
, libsoup
, json-glib
, gobject-introspection
, gtk-doc
, pkgs
, docbook-xsl-nons
}:
stdenv.mkDerivation rec {
pname = "gfbgraph";
version = "0.2.5";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "nLOBs/eLoRNt+Xrz8G47EdzCqzOawI907aD4BX1mA+M=";
};
nativeBuildInputs = [
pkg-config
gobject-introspection
gtk-doc
docbook-xsl-nons
];
buildInputs = [
glib
gnome-online-accounts
];
propagatedBuildInputs = [
libsoup
json-glib
librest
];
configureFlags = [
"--enable-introspection"
"--enable-gtk-doc"
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/libgfbgraph";
description = "GLib/GObject wrapper for the Facebook Graph API";
maintainers = teams.gnome.members;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
};
}
|