python3Packages.sphinx-jupyterbook-latex: relax sphinx constraint

This commit is contained in:
Martin Weinelt 2022-07-21 14:50:09 +02:00
parent 513fa21e47
commit 84189d8cd7

View File

@ -9,6 +9,7 @@
buildPythonPackage rec {
pname = "sphinx-jupyterbook-latex";
version = "0.4.6";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -18,6 +19,11 @@ buildPythonPackage rec {
sha256 = "8ff3775b11ab4798e6e8ec983601d7aea4c3b8e8b5d28ca758578ede3a791334";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "sphinx>=3,<5" "sphinx>=3"
'';
propagatedBuildInputs = [ sphinx ]
++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];