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