python310Packages.pyefergy: Substitute illegal version specifier
Casualty of setuptools improved validation.
This commit is contained in:
@@ -22,6 +22,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-AdoM+PcVoajxhnEfkyN9UuNufChu8XGmZDLNC3mjrps=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'master'
|
||||
substituteInPlace setup.py \
|
||||
--replace 'version="master",' 'version="${version}",'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
iso4217
|
||||
|
||||
Reference in New Issue
Block a user