python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / office / gnumeric / default.nix
blobe93be60741bb39422a0889fcbb3f321f7f56c585
1 { lib, stdenv, fetchurl, pkg-config, intltool, perlPackages
2 , goffice, gnome, wrapGAppsHook, gtk3, bison, python3Packages
3 , itstool
4 }:
6 let
7   inherit (python3Packages) python pygobject3;
8 in stdenv.mkDerivation rec {
9   pname = "gnumeric";
10   version = "1.12.53";
12   src = fetchurl {
13     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
14     sha256 = "VWjkyNzqu5Ao8TYdEEVSL5Xwpx2qWelzy90tObrdTwI=";
15   };
17   configureFlags = [ "--disable-component" ];
19   nativeBuildInputs = [ pkg-config intltool bison itstool wrapGAppsHook ];
21   # ToDo: optional libgda, introspection?
22   buildInputs = [
23     goffice gtk3 gnome.adwaita-icon-theme
24     python pygobject3
25   ] ++ (with perlPackages; [ perl XMLParser ]);
27   enableParallelBuilding = true;
29   passthru = {
30     updateScript = gnome.updateScript {
31       packageName = pname;
32       versionPolicy = "odd-unstable";
33     };
34   };
36   meta = with lib; {
37     description = "The GNOME Office Spreadsheet";
38     license = lib.licenses.gpl2Plus;
39     homepage = "http://projects.gnome.org/gnumeric/";
40     platforms = platforms.unix;
41     broken = with stdenv; isDarwin && isAarch64;
42     maintainers = [ maintainers.vcunat ];
43   };