Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 36 lines 1.0 kB view raw
1{ stdenv, fetchurl, pkgconfig, glib, librest, gnome-online-accounts 2, gnome3, libsoup, json-glib, gobject-introspection }: 3 4stdenv.mkDerivation rec { 5 pname = "gfbgraph"; 6 version = "0.2.3"; 7 8 outputs = [ "out" "dev" "devdoc" ]; 9 10 src = fetchurl { 11 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 sha256 = "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"; 13 }; 14 15 nativeBuildInputs = [ pkgconfig gobject-introspection ]; 16 buildInputs = [ glib gnome-online-accounts ]; 17 propagatedBuildInputs = [ libsoup json-glib librest ]; 18 19 configureFlags = [ "--enable-introspection" ]; 20 21 enableParallelBuilding = true; 22 23 passthru = { 24 updateScript = gnome3.updateScript { 25 packageName = pname; 26 }; 27 }; 28 29 meta = with stdenv.lib; { 30 homepage = https://wiki.gnome.org/Projects/GFBGraph; 31 description = "GLib/GObject wrapper for the Facebook Graph API"; 32 maintainers = gnome3.maintainers; 33 license = licenses.lgpl2; 34 platforms = platforms.linux; 35 }; 36}