python3Packages.tag-expressions: fix version in setup.py
This commit is contained in:
@@ -17,6 +17,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-EbSwfAH+sL3JGW+COfDA2f7cLGyKmQMsbyyDGy13Lkg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'version=read_version()' 'version="${version}"'
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
Reference in New Issue
Block a user