python39Packages.sphinx: fix reproducibility (#172642)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
5a4412d6ee
commit
ade93faa94
1 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,12 @@ buildPythonPackage rec {
|
|||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "docutils>=0.14,<0.18" "docutils>=0.14"
|
||||
|
||||
# remove impurity caused by date inclusion
|
||||
# https://github.com/sphinx-doc/sphinx/blob/master/setup.cfg#L4-L6
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "tag_build = .dev" "" \
|
||||
--replace "tag_date = true" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue