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