mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
a126ce011a
Also move goffice under gnome3, as it's released in the same way.
33 lines
894 B
Nix
33 lines
894 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
|
|
, goffice, makeWrapper, gtk3, gnome_icon_theme
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnumeric-1.12.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnumeric/1.12/${name}.tar.xz";
|
|
sha256 = "1rv2ifw6rp0iza4fkf3bffvdkyi77dwvzdnvcbpqcyn2kxfsvlsc";
|
|
};
|
|
|
|
preConfigure = ''sed -i 's/\(SUBDIRS.*\) doc/\1/' Makefile.in''; # fails when installing docs
|
|
|
|
configureFlags = "--disable-component";
|
|
|
|
# ToDo: optional libgda, python, introspection?
|
|
buildInputs = [
|
|
pkgconfig intltool perl perlXMLParser
|
|
goffice gtk3 makeWrapper
|
|
];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$out"/bin/gnumeric-* \
|
|
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome_icon_theme}/share"
|
|
'';
|
|
|
|
meta = {
|
|
description = "The GNOME Office Spreadsheet";
|
|
license = "GPLv2+";
|
|
homepage = http://projects.gnome.org/gnumeric/;
|
|
};
|
|
}
|