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