forked from mirrors/nixpkgs
python3Packages.limits: fix package version
This commit is contained in:
parent
fee9bddb58
commit
b33f9716e7
|
@ -57,6 +57,9 @@ buildPythonPackage rec {
|
|||
--replace "--cov=limits" "" \
|
||||
--replace "-K" ""
|
||||
|
||||
substituteInPlace setup.py \
|
||||
--replace "versioneer.get_version()" "'${version}'"
|
||||
|
||||
# Recreate _version.py, deleted at fetch time due to non-reproducibility.
|
||||
echo 'def get_versions(): return {"version": "${version}"}' > limits/_version.py
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue