Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
674 B
Nix
Raw Permalink Normal View History

2021-09-13 22:56:34 -03:00
{
lib,
buildPythonPackage,
sage-src,
cython,
2022-08-28 18:08:15 -03:00
jinja2,
2021-09-13 22:56:34 -03:00
pkgconfig, # the python module, not the pkg-config alias
}:
buildPythonPackage rec {
version = src.version;
format = "setuptools";
2021-09-13 22:56:34 -03:00
pname = "sage-setup";
src = sage-src;
nativeBuildInputs = [ cython ];
2022-08-28 18:08:15 -03:00
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ jinja2 ];
2021-09-13 22:56:34 -03:00
preBuild = ''
cd pkgs/sage-setup
'';
doCheck = false; # sagelib depends on sage-setup, but sage-setup's tests depend on sagelib
meta = with lib; {
description = "Build system of the Sage library";
homepage = "https://www.sagemath.org";
license = licenses.gpl2Plus;
teams = [ teams.sage ];
};
}