nixpkgs/pkgs/applications/office/gnumeric/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, perlPackages
2019-12-25 09:29:32 +01:00
, goffice, gnome3, wrapGAppsHook, gtk3, bison, python3Packages
, itstool
}:
let
2019-12-25 09:29:32 +01:00
inherit (python3Packages) python pygobject3;
in stdenv.mkDerivation rec {
pname = "gnumeric";
2020-05-21 20:50:35 +02:00
version = "1.12.47";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-05-21 20:50:35 +02:00
sha256 = "1khrf72kiq50y8b5prbj2207k9shn36h2b2i588cc4wa28s9y5a0";
};
2018-07-25 23:44:21 +02:00
configureFlags = [ "--disable-component" ];
nativeBuildInputs = [ pkgconfig intltool bison itstool wrapGAppsHook ];
# ToDo: optional libgda, introspection?
buildInputs = [
2019-02-13 22:47:50 +01:00
goffice gtk3 gnome3.adwaita-icon-theme
python pygobject3
] ++ (with perlPackages; [ perl XMLParser ]);
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
2013-12-28 15:49:19 +01:00
meta = with stdenv.lib; {
description = "The GNOME Office Spreadsheet";
license = stdenv.lib.licenses.gpl2Plus;
homepage = "http://projects.gnome.org/gnumeric/";
2017-05-04 21:42:28 +02:00
platforms = platforms.unix;
2013-12-28 15:49:19 +01:00
maintainers = [ maintainers.vcunat ];
};
}