f12e2d1e66
goffice is also updated. goffice is maintained by the gnumeric people and released in sync with gnumeric. gnumeric 1.12.x corresponds to goffice 0.10.x.
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
|
|
, goffice, makeWrapper, gtk3, gnome_icon_theme
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnumeric-1.12.18";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnumeric/1.12/${name}.tar.xz";
|
|
sha256 = "402224f858cfa4e91503ab1be0491fa3322713dabe56b6eae171def8b736d9e9";
|
|
};
|
|
|
|
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
|
|
];
|
|
|
|
preFixup = ''
|
|
for f in "$out"/bin/gnumeric-*; do
|
|
wrapProgram $f \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
done
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The GNOME Office Spreadsheet";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
homepage = http://projects.gnome.org/gnumeric/;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.vcunat ];
|
|
};
|
|
}
|