File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
pkgs/development/python-modules/sphinx-click Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 44 fetchPypi ,
55 sphinxHook ,
66 # Build system
7- pbr ,
87 setuptools ,
8+ setuptools-scm ,
99 # Dependencies
1010 click ,
1111 docutils ,
1717
1818buildPythonPackage rec {
1919 pname = "sphinx-click" ;
20- version = "6.0 .0" ;
20+ version = "6.1 .0" ;
2121 pyproject = true ;
2222
2323 build-system = [
24- pbr
2524 setuptools
25+ setuptools-scm
2626 ] ;
2727
28+ postPatch = ''
29+ # Would require reno which would require the .git directory to stay around
30+ substituteInPlace docs/changelog.rst \
31+ --replace-fail '.. release-notes::' 'Check https://sphinx-click.readthedocs.io/en/latest/changelog/ for the Release Notes.'
32+ substituteInPlace docs/conf.py \
33+ --replace-fail "'reno.sphinxext'" ""
34+ '' ;
35+
2836 nativeBuildInputs = [
2937 sphinxHook
3038 ] ;
@@ -47,7 +55,7 @@ buildPythonPackage rec {
4755 src = fetchPypi {
4856 inherit version ;
4957 pname = "sphinx_click" ;
50- hash = "sha256-9dZkMh3AxmIv8Bnx4chOWM4M7P3etRDgBM9gwqOrRls =" ;
58+ hash = "sha256-xwLgdRwaC2rWSeT3+uvQ3AmjzHyjtQ+Vlpg4N3L1Du8 =" ;
5159 } ;
5260
5361 meta = {
You can’t perform that action at this time.
0 commit comments