From fd4397f4005979a3db6dedd62294b98247d2128d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 23 Mar 2026 08:14:08 +0100 Subject: [PATCH] python3Packages.nbsphinx: fix build --- .../development/python-modules/nbsphinx/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/nbsphinx/default.nix b/pkgs/development/python-modules/nbsphinx/default.nix index cb8470681163..6dc9e73b5427 100644 --- a/pkgs/development/python-modules/nbsphinx/default.nix +++ b/pkgs/development/python-modules/nbsphinx/default.nix @@ -1,9 +1,9 @@ { lib, buildPythonPackage, - fetchpatch, fetchPypi, setuptools, + setuptools-scm, docutils, jinja2, nbconvert, @@ -21,14 +21,11 @@ buildPythonPackage rec { inherit pname version; hash = "sha256-0HZZCDmajuK1e+euiBzy6ljWbbOve78z5utI+DvqVJU="; }; - patches = [ - (fetchpatch { - url = "https://github.com/spatialaudio/nbsphinx/commit/a921973a5d8ecc39c6e02184572b79ab72c9978c.patch"; - hash = "sha256-uxfSaOESWn8uVcUm+1ADzQgMQDEqaTs0TbfNYsS+E6I="; - }) - ]; - build-system = [ setuptools ]; + build-system = [ + setuptools + setuptools-scm + ]; dependencies = [ docutils