mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.iso4217: don't append date to version
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user