python310Packages.jupyter-book: 0.13.1 -> 0.13.2

https://github.com/executablebooks/jupyter-book/releases/tag/v0.13.2
This commit is contained in:
Mario Rodas 2023-02-08 04:20:00 +00:00
parent 91da45d417
commit 10e9b8203c

View File

@ -3,6 +3,7 @@
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, flit-core , flit-core
, pythonRelaxDepsHook
, click , click
, docutils , docutils
, jinja2 , jinja2
@ -25,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jupyter-book"; pname = "jupyter-book";
version = "0.13.1"; version = "0.13.2";
format = "flit"; format = "flit";
@ -33,24 +34,13 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-RgpC/H4J3kbdZsKuwYu7EOKCqcgM2v4uUsm6PVFknQE="; sha256 = "sha256-wJWY0tBrlCkOFDfGZS4xWvv87sOlyrNl3fiGqgayqTs=";
}; };
postPatch = '' nativeBuildInputs = [
substituteInPlace pyproject.toml \ flit-core
--replace "jsonschema<4" "jsonschema" \ pythonRelaxDepsHook
--replace "sphinx-external-toc~=0.2.3" "sphinx-external-toc" \ ];
--replace "sphinx-jupyterbook-latex~=0.4.6" "sphinx-jupyterbook-latex" \
--replace "sphinx-thebe~=0.1.1" "sphinx-thebe" \
--replace "sphinx>=4,<5" "sphinx" \
--replace "sphinx_book_theme~=0.3.2" "sphinx_book_theme" \
--replace "myst-nb~=0.13.1" "myst-nb" \
--replace "docutils>=0.15,<0.18" "docutils" \
--replace "sphinx-design~=0.1.0" "sphinx-design" \
--replace "linkify-it-py~=1.0.1" "linkify-it-py"
'';
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ propagatedBuildInputs = [
click click
@ -73,11 +63,19 @@ buildPythonPackage rec {
sphinx-multitoc-numbering sphinx-multitoc-numbering
]; ];
pythonImportsCheck = [ "jupyter_book" ]; pythonRelaxDeps = [
"docutils"
"myst-nb"
"sphinx"
];
pythonImportsCheck = [
"jupyter_book"
];
meta = with lib; { meta = with lib; {
description = "Build a book with Jupyter Notebooks and Sphinx"; description = "Build a book with Jupyter Notebooks and Sphinx";
homepage = "https://executablebooks.org/"; homepage = "https://jupyterbook.org/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ marsam ]; maintainers = with maintainers; [ marsam ];
}; };