From 3ae573b0cb30c85f090cf8de98c36748acf05ea0 Mon Sep 17 00:00:00 2001 From: Willy Date: Fri, 2 May 2025 20:14:13 +0200 Subject: [PATCH] python3Packages.nbsphinx: fix build upstream has already relaxed the dependency on sphinx (8.2.0 and 8.2.1 were _actually_ broken) but not released this yet. revert with next update --- pkgs/development/python-modules/nbsphinx/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/nbsphinx/default.nix b/pkgs/development/python-modules/nbsphinx/default.nix index f3187d955701..4ad780b353b8 100644 --- a/pkgs/development/python-modules/nbsphinx/default.nix +++ b/pkgs/development/python-modules/nbsphinx/default.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, + fetchpatch, fetchPypi, setuptools, docutils, @@ -23,6 +24,12 @@ buildPythonPackage rec { inherit pname version; hash = "sha256-q9KYpobVX6iU72l8UdRPJOU6oxLa2uOOgpIPJQpUVv4="; }; + patches = [ + (fetchpatch { + url = "https://github.com/spatialaudio/nbsphinx/commit/a921973a5d8ecc39c6e02184572b79ab72c9978c.patch"; + hash = "sha256-uxfSaOESWn8uVcUm+1ADzQgMQDEqaTs0TbfNYsS+E6I="; + }) + ]; build-system = [ setuptools ];