python3Packages.iso4217: don't append date to version

This commit is contained in:
Robert Schütz
2026-06-18 14:35:35 -07:00
parent 6c3967b670
commit 46bac7fdab

View File

@@ -26,6 +26,12 @@ buildPythonPackage rec {
hash = "sha256-C7TwGlbTwpcJ0rE7notWzZHthWzXKMPbHq00zMhfHeA=";
};
postPatch = ''
# get_version() appends a date to the version prefix
substituteInPlace setup.py \
--replace-fail 'version=get_version()' 'version="${version}"'
'';
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];