python3Packages.discordpy: 1.6.0 -> 1.7.0
This commit is contained in:
parent
db6ac2141a
commit
d9a164a401
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "discord.py";
|
pname = "discord.py";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
disabled = pythonOlder "3.5.3";
|
disabled = pythonOlder "3.5.3";
|
||||||
|
|
||||||
# only distributes wheels on pypi now
|
# only distributes wheels on pypi now
|
||||||
|
@ -17,13 +17,12 @@ buildPythonPackage rec {
|
||||||
owner = "Rapptz";
|
owner = "Rapptz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "036prc4iw91qx31zz48hy3b30kn2qnlg68lgrvv2mcvsjxf2gd1l";
|
sha256 = "1i5k2qb894rjksn21pk9shash1y7v4138rkk8mqr1a1yvgnr5ibg";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp websockets ];
|
propagatedBuildInputs = [ aiohttp websockets ];
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace "requirements.txt" \
|
substituteInPlace "requirements.txt" \
|
||||||
--replace "aiohttp>=3.6.0,<3.7.0" "aiohttp" \
|
|
||||||
--replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets"
|
--replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets"
|
||||||
'' + lib.optionalString withVoice ''
|
'' + lib.optionalString withVoice ''
|
||||||
substituteInPlace "discord/opus.py" \
|
substituteInPlace "discord/opus.py" \
|
||||||
|
|
Loading…
Reference in New Issue