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