2021-01-11 10:54:33 +03:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, perlPackages
|
2019-12-25 11:29:32 +03:00
|
|
|
, goffice, gnome3, wrapGAppsHook, gtk3, bison, python3Packages
|
2019-11-08 20:57:24 +03:00
|
|
|
, itstool
|
2012-05-29 16:21:33 +04:00
|
|
|
}:
|
|
|
|
|
2016-09-26 00:40:02 +03:00
|
|
|
let
|
2019-12-25 11:29:32 +03:00
|
|
|
inherit (python3Packages) python pygobject3;
|
2016-09-26 00:40:02 +03:00
|
|
|
in stdenv.mkDerivation rec {
|
2018-12-24 14:41:00 +03:00
|
|
|
pname = "gnumeric";
|
2020-09-01 03:12:06 +03:00
|
|
|
version = "1.12.48";
|
2012-05-29 18:02:31 +04:00
|
|
|
|
2012-05-29 16:21:33 +04:00
|
|
|
src = fetchurl {
|
2021-01-15 08:42:41 +03:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-09-01 03:12:06 +03:00
|
|
|
sha256 = "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p";
|
2012-05-29 16:21:33 +04:00
|
|
|
};
|
|
|
|
|
2018-07-26 00:44:21 +03:00
|
|
|
configureFlags = [ "--disable-component" ];
|
2012-05-29 16:21:33 +04:00
|
|
|
|
2020-09-01 03:12:06 +03:00
|
|
|
nativeBuildInputs = [ pkg-config intltool bison itstool wrapGAppsHook ];
|
2017-09-14 22:24:37 +03:00
|
|
|
|
2015-08-11 22:34:31 +03:00
|
|
|
# ToDo: optional libgda, introspection?
|
2012-05-29 16:21:33 +04:00
|
|
|
buildInputs = [
|
2019-02-14 00:47:50 +03:00
|
|
|
goffice gtk3 gnome3.adwaita-icon-theme
|
2018-12-24 14:41:00 +03:00
|
|
|
python pygobject3
|
2018-10-13 01:56:15 +03:00
|
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
2012-05-29 16:21:33 +04:00
|
|
|
|
2015-05-24 20:52:57 +03:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-12-24 14:41:00 +03:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2012-05-29 16:21:33 +04:00
|
|
|
description = "The GNOME Office Spreadsheet";
|
2021-01-15 08:42:41 +03:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-01 04:11:51 +03:00
|
|
|
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 ];
|
2012-05-29 16:21:33 +04:00
|
|
|
};
|
|
|
|
}
|