@@ -1,38 +0,0 @@
1−{ fetchurl, stdenv, pkgconfig, glib, gtk2, libglade, bzip2
2−, pango, libgsf, libxml2, libart, intltool, gettext
3−, cairo, gconf, libgnomeui, pcre, goffice/*just meta*/ }:
4−
5−stdenv.mkDerivation rec {
6− name = "goffice-0.8.17";
7−
8− src = fetchurl {
9− url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz";
10− sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15";
11− };
12−
13− # fix linking error: undefined reference to pcre_info
14− patches = [ ./pcre_info.patch ]; # inspired by https://bugs.php.net/bug.php?id=60986
15−
16− nativeBuildInputs = [ pkgconfig ];
17− buildInputs = [
18− libglade bzip2 libart intltool gettext
19− gconf libgnomeui pcre
20− ];
21−
22− propagatedBuildInputs = [
23− # All these are in the "Requires:" field of `libgoffice-0.6.pc'.
24− glib libgsf libxml2 gtk2 libglade libart cairo pango
25− ];
26−
27− postInstall =
28− ''
29− # Get GnuCash to build. Might be unnecessary if we upgrade pkgconfig.
30− substituteInPlace $out/lib/pkgconfig/libgoffice-*.pc --replace Requires.private Requires
31− '';
32−
33− doCheck = true;
34−
35− meta = goffice.meta // {
36− maintainers = [ ];
37− };
38−}