From 06e87f31c57049aa3eb67184cd3bdb46264bf1ff Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Fri, 28 Nov 2025 11:39:51 +0100 Subject: [PATCH] python3Packages.sphinx-click: 6.0.0 -> 6.1.0 --- .../python-modules/sphinx-click/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-click/default.nix b/pkgs/development/python-modules/sphinx-click/default.nix index 81ac35a5131c..2227807ce56d 100644 --- a/pkgs/development/python-modules/sphinx-click/default.nix +++ b/pkgs/development/python-modules/sphinx-click/default.nix @@ -4,8 +4,8 @@ fetchPypi, sphinxHook, # Build system - pbr, setuptools, + setuptools-scm, # Dependencies click, docutils, @@ -17,14 +17,22 @@ buildPythonPackage rec { pname = "sphinx-click"; - version = "6.0.0"; + version = "6.1.0"; pyproject = true; build-system = [ - pbr setuptools + setuptools-scm ]; + postPatch = '' + # Would require reno which would require the .git directory to stay around + substituteInPlace docs/changelog.rst \ + --replace-fail '.. release-notes::' 'Check https://sphinx-click.readthedocs.io/en/latest/changelog/ for the Release Notes.' + substituteInPlace docs/conf.py \ + --replace-fail "'reno.sphinxext'" "" + ''; + nativeBuildInputs = [ sphinxHook ]; @@ -47,7 +55,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "sphinx_click"; - hash = "sha256-9dZkMh3AxmIv8Bnx4chOWM4M7P3etRDgBM9gwqOrRls="; + hash = "sha256-xwLgdRwaC2rWSeT3+uvQ3AmjzHyjtQ+Vlpg4N3L1Du8="; }; meta = {