From 84189d8cd75a1a0b955b97ea17ca427d0c844120 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Jul 2022 14:50:09 +0200 Subject: [PATCH] python3Packages.sphinx-jupyterbook-latex: relax sphinx constraint --- .../python-modules/sphinx-jupyterbook-latex/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix b/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix index 937b6cf5d304..b087ed2bd39e 100644 --- a/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix +++ b/pkgs/development/python-modules/sphinx-jupyterbook-latex/default.nix @@ -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 ];