mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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:
parent
7b8dbe2d73
commit
76e9a58615
@ -24,6 +24,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-8/ixL4ByaBYoPbB4g+Rgx+5OM6vjrFTUEPR42wBKyyg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'version="master"' 'version="${version}"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
ciso8601
|
||||
|
Loading…
Reference in New Issue
Block a user