3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/gnumeric/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

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