python39Packages.versiontag: fix version not being set
This commit is contained in:
parent
8edb8eadeb
commit
7d7a5249d4
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ buildPythonPackage rec {
|
|||
sha256 = "1axv2214ykgv5adajv10v2zy5fr9v77db54rkik6ja29p66zl90n";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "get_version(pypi=True)" '"${version}"'
|
||||
'';
|
||||
|
||||
checkInputs = [ git ];
|
||||
|
||||
pythonImportsCheck = [ "versiontag" ];
|
||||
|
|
Loading…
Reference in a new issue