Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 38 lines 661 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 sage-src, 5 furo, 6 jupyter-sphinx, 7 sphinx, 8 sphinx-copybutton, 9 sphinx-inline-tabs, 10}: 11 12buildPythonPackage rec { 13 version = src.version; 14 format = "setuptools"; 15 pname = "sage-docbuild"; 16 src = sage-src; 17 18 propagatedBuildInputs = [ 19 furo 20 jupyter-sphinx 21 sphinx 22 sphinx-copybutton 23 sphinx-inline-tabs 24 ]; 25 26 preBuild = '' 27 cd pkgs/sage-docbuild 28 ''; 29 30 doCheck = false; # we will run tests in sagedoc.nix 31 32 meta = with lib; { 33 description = "Build system of the Sage documentation"; 34 homepage = "https://www.sagemath.org"; 35 license = licenses.gpl2Plus; 36 teams = [ teams.sage ]; 37 }; 38}