Unverified Commit b969f908 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

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

python311Packages.jupyter-book: 0.15.1 -> 1.0.0
parents 6c881251 3ea83143
Loading
Loading
Loading
Loading
+10 −18
Original line number Diff line number Diff line
@@ -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";
  };
}