2021-10-30 03:20:09 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, librest
|
|
|
|
, gnome-online-accounts
|
|
|
|
, gnome
|
|
|
|
, libsoup
|
|
|
|
, json-glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk-doc
|
|
|
|
, pkgs
|
|
|
|
, docbook-xsl-nons
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-12-25 17:05:36 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 08:05:37 +00:00
|
|
|
pname = "gfbgraph";
|
2021-10-30 03:20:09 +00:00
|
|
|
version = "0.2.5";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-21 07:41:02 +00:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-10-30 03:20:09 +00:00
|
|
|
sha256 = "nLOBs/eLoRNt+Xrz8G47EdzCqzOawI907aD4BX1mA+M=";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
|
2020-08-10 12:58:23 +00:00
|
|
|
nativeBuildInputs = [
|
2021-10-30 03:20:09 +00:00
|
|
|
pkg-config
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
docbook-xsl-nons
|
2020-08-10 12:58:23 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-10-30 03:20:09 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gnome-online-accounts
|
|
|
|
];
|
2020-08-10 12:58:23 +00:00
|
|
|
|
2021-10-30 03:20:09 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
libsoup
|
|
|
|
json-glib
|
|
|
|
librest
|
|
|
|
];
|
2020-08-10 12:58:23 +00:00
|
|
|
|
2021-10-30 03:20:09 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-introspection"
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
2018-03-21 07:41:02 +00:00
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-03-03 08:05:37 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 08:05:37 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 08:05:37 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GFBGraph";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "GLib/GObject wrapper for the Facebook Graph API";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-10-30 03:20:09 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|