9 buildPythonPackage rec {
10 pname = "sphinx-jupyterbook-latex";
14 disabled = pythonOlder "3.6";
18 pname = "sphinx_jupyterbook_latex";
19 sha256 = "sha256-QErSEpolSEkJaQLzfcF0oDlugEhN5Y9/KwVwC2IknLY=";
23 substituteInPlace setup.cfg \
24 --replace "sphinx>=3,<5" "sphinx>=3"
27 propagatedBuildInputs = [ sphinx ]
28 ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
30 pythonImportsCheck = [ "sphinx_jupyterbook_latex" ];
33 description = "Latex specific features for jupyter book";
34 homepage = "https://github.com/executablebooks/sphinx-jupyterbook-latex";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ marsam ];