Merge pull request #284217 from marsam/update-jupyter-book

python311Packages.jupyter-book: 0.15.1 -> 1.0.0
This commit is contained in:
Mario Rodas 2024-01-28 18:51:37 -05:00 committed by GitHub
commit b969f908a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,13 +3,12 @@
, fetchPypi
, pythonOlder
, flit-core
, pythonRelaxDepsHook
, click
, docutils
, jinja2
, jsonschema
, linkify-it-py
, myst-nb
, myst-parser
, pyyaml
, sphinx
, sphinx-comments
@ -26,29 +25,28 @@
buildPythonPackage rec {
pname = "jupyter-book";
version = "0.15.1";
version = "1.0.0";
pyproject = true;
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-ihY07Bb37t7g0Rbx5ft8SCAyia2S2kLglRnccdlWwBA=";
inherit version;
pname = "jupyter_book";
hash = "sha256-U5xdBJNUYgDZ3ie9S1936uoDEV+JN/gl1P+Cs4AamH4=";
};
nativeBuildInputs = [
flit-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
click
docutils
jinja2
jsonschema
linkify-it-py
myst-nb
myst-parser
pyyaml
sphinx
sphinx-comments
@ -63,16 +61,9 @@ buildPythonPackage rec {
sphinx-multitoc-numbering
];
pythonRelaxDeps = [
"docutils"
"myst-nb"
"sphinx"
"sphinx-thebe"
"sphinxcontrib-bibtex"
];
pythonImportsCheck = [
"jupyter_book"
"jupyter_book.cli.main"
];
meta = with lib; {
@ -81,5 +72,6 @@ buildPythonPackage rec {
changelog = "https://github.com/executablebooks/jupyter-book/blob/v${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ marsam ];
mainProgram = "jupyter-book";
};
}