python310Packages.pycfdns: Substitute illegal version specifier

Casualty of setuptools improved validation.
This commit is contained in:
Martin Weinelt 2023-03-05 23:24:30 +01:00
parent e6cf95cc62
commit 27ae3a1016
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -17,6 +17,11 @@ buildPythonPackage rec {
hash = "sha256-f6kxYX/dg16OWYpw29dH4Z26ncLZCYyHKGc4fzoCld0=";
};
postPatch = ''
substituteInPlace setup.py \
--replace 'version="master",' 'version="${version}",'
'';
propagatedBuildInputs = [
aiohttp
async-timeout