python3Packages.tag-expressions: fix version in setup.py

This commit is contained in:
Robert Schütz
2026-07-08 19:21:38 -07:00
parent a1c6e43548
commit 3f0f7cef47
@@ -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 ];