nixpkgs-suyu/pkgs/applications/science/math/sage/sage_docbuild.nix

21 lines
301 B
Nix
Raw Normal View History

{ buildPythonPackage
, sage-src
, sphinx
}:
buildPythonPackage rec {
version = src.version;
pname = "sage_docbuild";
src = sage-src;
propagatedBuildInputs = [
sphinx
];
preBuild = ''
cd build/pkgs/sage_docbuild/src
'';
doCheck = false; # we will run tests in sagedoc.nix
}