9 buildPythonPackage rec {
10 pname = "sphinx-jupyterbook-latex";
14 disabled = pythonOlder "3.6";
18 pname = "sphinx_jupyterbook_latex";
19 hash = "sha256-2h060Cj1XdvxC5Ewu58k/GDK+2ccvTnf2VU3qvyQly4=";
23 substituteInPlace setup.cfg \
24 --replace "sphinx>=4,<5.1" "sphinx"
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 changelog = "https://github.com/executablebooks/sphinx-jupyterbook-latex/raw/v${version}/CHANGELOG.md";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ marsam ];