python310Packages.aiopyarr: Substitute version value

Because setuptools has a stricter validation now, this started
breaking.

> setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'master'
This commit is contained in:
Martin Weinelt 2023-03-01 18:56:24 +01:00
parent 7b8dbe2d73
commit 76e9a58615

View File

@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-8/ixL4ByaBYoPbB4g+Rgx+5OM6vjrFTUEPR42wBKyyg=";
};
postPatch = ''
substituteInPlace setup.py \
--replace 'version="master"' 'version="${version}"'
'';
propagatedBuildInputs = [
aiohttp
ciso8601