mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
90f8ccf06c
http://www.gnumeric.org/announcements/1.12/gnumeric-1.12.56.html https://gitlab.gnome.org/GNOME/gnumeric/-/compare/GNUMERIC_1_12_55...GNUMERIC_1_12_56 Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, intltool, perlPackages
|
|
, goffice, gnome, wrapGAppsHook, gtk3, bison, python3Packages
|
|
, itstool
|
|
}:
|
|
|
|
let
|
|
inherit (python3Packages) python pygobject3;
|
|
in stdenv.mkDerivation rec {
|
|
pname = "gnumeric";
|
|
version = "1.12.56";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "UaOPNaxbD3He+oueIL8uCFY3mPHLMzeamhdyb7Hj4bI=";
|
|
};
|
|
|
|
configureFlags = [ "--disable-component" ];
|
|
|
|
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";
|
|
license = lib.licenses.gpl2Plus;
|
|
homepage = "http://projects.gnome.org/gnumeric/";
|
|
platforms = platforms.unix;
|
|
broken = with stdenv; isDarwin && isAarch64;
|
|
maintainers = [ maintainers.vcunat ];
|
|
};
|
|
}
|