mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
44 lines
1.1 KiB
Nix
44 lines
1.1 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.50";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "dYgZuhvWmDgp+efG1xp/ogzXWjZSonHluwA9XYvMFLg=";
|
|
};
|
|
|
|
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;
|
|
maintainers = [ maintainers.vcunat ];
|
|
};
|
|
}
|