mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
parent
58082f0acb
commit
4eb7fa7c9a
@ -1,19 +1,18 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
|
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
|
||||||
, pango, libgsf, libxml2, libart, intltool, gettext
|
, pango, libgsf, libxml2, libart, intltool, gettext
|
||||||
, cairo, gconf, libgnomeui }:
|
, cairo, gconf, libgnomeui, pcre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "goffice-0.6.6";
|
name = "goffice-0.8.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# An old version, but one that's actually usable for Gnucash.
|
url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz";
|
||||||
url = "mirror://gnome/sources/goffice/0.6/${name}.tar.bz2";
|
sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15";
|
||||||
sha256 = "11lzhmk7g6mdsbyn4p4a6q2d9m8j71vad2haw6pmzyjzv2gs4rq7";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig libglade bzip2 libart intltool gettext
|
pkgconfig libglade bzip2 libart intltool gettext
|
||||||
gconf libgnomeui
|
gconf libgnomeui pcre
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -21,6 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
glib libgsf libxml2 gtk libglade libart cairo pango
|
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;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user