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

43 lines
1.1 KiB
Nix
Raw Normal View History

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