diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-06-11 13:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-11 13:00:38 +0100 |
commit | c4dbc30213423753f7e12558ab0b1077e0983884 (patch) | |
tree | 49b299cf65fdc3fdaf4af84b5e4bc085420b6ef1 /pkgs/applications/office | |
parent | fe208a1cc86c8e8137ebeb18b46022236587b784 (diff) | |
parent | 0de9ed92e8a14823684c99e6488678ebba4afe26 (diff) |
Merge pull request #26374 from vbgl/gnumeric-34
gnumeric: 1.12.32 → 1.12.34
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/gnumeric/default.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix index fcd9f954a675f..fda320dd54a37 100644 --- a/pkgs/applications/office/gnumeric/default.nix +++ b/pkgs/applications/office/gnumeric/default.nix @@ -1,24 +1,35 @@ { stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser , goffice, gnome3, makeWrapper, gtk3, bison, pythonPackages +, itstool }: let inherit (pythonPackages) python pygobject3; + isopub = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent; sha256 = "073l492jz70chcadr2p7ssx7gz5hd731s2cazhxx4r845kilyr77"; }; + isonum = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent; sha256 = "04b62dw2g3cj9i4vn9xyrsrlz8fpmmijq98dm0nrkky31bwbbrs3"; }; + isogrk1 = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent; sha256 = "04b23anhs5wr62n4rgsjirzvw7rpjcsf8smz4ffzaqh3b0vw90vm"; }; in stdenv.mkDerivation rec { - name = "gnumeric-1.12.32"; + name = "gnumeric-1.12.34"; src = fetchurl { url = "mirror://gnome/sources/gnumeric/1.12/${name}.tar.xz"; - sha256 = "a07bc83e2adaeb94bfa2c737c9a19d90381a19cb203dd7c4d5f7d6cfdbee6de8"; + sha256 = "0b4920812d82ec4c25204543dff9dd3bdbac17bfaaabd1aa02d47fbe2981c725"; }; configureFlags = "--disable-component"; + prePatch = '' + substituteInPlace doc/C/gnumeric.xml \ + --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent ${isopub} \ + --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent ${isonum} \ + --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent ${isogrk1} + ''; + # ToDo: optional libgda, introspection? buildInputs = [ pkgconfig intltool perl perlXMLParser bison goffice gtk3 makeWrapper gnome3.defaultIconTheme - python pygobject3 + python pygobject3 itstool ]; enableParallelBuilding = true; @@ -35,7 +46,7 @@ in stdenv.mkDerivation rec { description = "The GNOME Office Spreadsheet"; license = stdenv.lib.licenses.gpl2Plus; homepage = http://projects.gnome.org/gnumeric/; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = [ maintainers.vcunat ]; }; } |