goffice: Update to 0.8.17

Fixes http://hydra.nixos.org/build/3149255
This commit is contained in:
Eelco Dolstra 2012-10-09 11:24:21 -04:00
parent 58082f0acb
commit 4eb7fa7c9a

View File

@ -1,19 +1,18 @@
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
, pango, libgsf, libxml2, libart, intltool, gettext
, cairo, gconf, libgnomeui }:
, cairo, gconf, libgnomeui, pcre }:
stdenv.mkDerivation rec {
name = "goffice-0.6.6";
name = "goffice-0.8.17";
src = fetchurl {
# An old version, but one that's actually usable for Gnucash.
url = "mirror://gnome/sources/goffice/0.6/${name}.tar.bz2";
sha256 = "11lzhmk7g6mdsbyn4p4a6q2d9m8j71vad2haw6pmzyjzv2gs4rq7";
url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz";
sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15";
};
buildInputs = [
pkgconfig libglade bzip2 libart intltool gettext
gconf libgnomeui
gconf libgnomeui pcre
];
propagatedBuildInputs = [
@ -21,6 +20,12 @@ stdenv.mkDerivation rec {
glib libgsf libxml2 gtk libglade libart cairo pango
];
postInstall =
''
# Get GnuCash to build. Might be unnecessary if we upgrade pkgconfig.
substituteInPlace $out/lib/pkgconfig/libgoffice-*.pc --replace Requires.private Requires
'';
doCheck = true;
meta = {