mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
pythonPackages.discordpy: remove overly restrictive version constraints
This commit is contained in:
parent
2194012d3b
commit
b9140da9e2
|
@ -23,8 +23,8 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ aiohttp websockets ];
|
||||
patchPhase = ''
|
||||
substituteInPlace "requirements.txt" \
|
||||
--replace "aiohttp>=3.6.0,<3.7.0" "aiohttp~=3.6.0" \
|
||||
--replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets>=6"
|
||||
--replace "aiohttp>=3.6.0,<3.7.0" "aiohttp" \
|
||||
--replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets"
|
||||
'' + lib.optionalString withVoice ''
|
||||
substituteInPlace "discord/opus.py" \
|
||||
--replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
|
||||
|
|
Loading…
Reference in a new issue