gfbgraph: 0.2.3 -> 0.2.4

This commit is contained in:
Daniel Șerbănescu 2020-08-10 14:58:23 +02:00 committed by Jan Tojnar
parent a3c71c3e5d
commit 3a2ac8a744

View file

@ -1,22 +1,36 @@
{ stdenv, fetchurl, pkgconfig, glib, librest, gnome-online-accounts
, gnome3, libsoup, json-glib, gobject-introspection }:
, gnome3, libsoup, json-glib, gobject-introspection
, gtk-doc, pkgs, docbook-xsl-nons, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
pname = "gfbgraph";
version = "0.2.3";
version = "0.2.4";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs";
sha256 = "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0";
};
nativeBuildInputs = [ pkgconfig gobject-introspection ];
nativeBuildInputs = [
pkgconfig gobject-introspection gtk-doc
docbook-xsl-nons autoconf automake libtool
];
buildInputs = [ glib gnome-online-accounts ];
propagatedBuildInputs = [ libsoup json-glib librest ];
configureFlags = [ "--enable-introspection" ];
configureFlags = [ "--enable-introspection" "--enable-gtk-doc" ];
prePatch = ''
patchShebangs autogen.sh
substituteInPlace autogen.sh \
--replace "which" "${pkgs.which}/bin/which"
'';
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
enableParallelBuilding = true;