1{ lib
2, buildPythonPackage
3, sage-src
4, jupyter-sphinx
5, sphinx
6, sphinx-copybutton
7}:
8
9buildPythonPackage rec {
10 version = src.version;
11 pname = "sage-docbuild";
12 src = sage-src;
13
14 propagatedBuildInputs = [
15 jupyter-sphinx
16 sphinx
17 sphinx-copybutton
18 ];
19
20 preBuild = ''
21 cd pkgs/sage-docbuild
22 '';
23
24 doCheck = false; # we will run tests in sagedoc.nix
25
26 meta = with lib; {
27 description = "Build system of the Sage documentation";
28 homepage = "https://www.sagemath.org";
29 license = licenses.gpl2Plus;
30 maintainers = teams.sage.members;
31 };
32}