Merge pull request #121792 from fabaff/bump-discordpy
python3Packages.discordpy: 1.7.1 -> 1.7.2
This commit is contained in:
commit
a7da21b162
@ -5,25 +5,23 @@
|
|||||||
, libopus
|
, libopus
|
||||||
, pynacl
|
, pynacl
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, websockets
|
|
||||||
, withVoice ? true
|
, withVoice ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "discord.py";
|
pname = "discord.py";
|
||||||
version = "1.7.1";
|
version = "1.7.2";
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Rapptz";
|
owner = "Rapptz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-dpASIqe6rJEyiWJyPbQhq9M54lX1ilfp4UuGnbJcFLo=";
|
sha256 = "sha256-NY1/RKp8w9gAqGYXnCNhNZqR/inGMvUvxjJ1MMs62B8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
websockets
|
|
||||||
] ++ lib.optionalString withVoice [
|
] ++ lib.optionalString withVoice [
|
||||||
libopus
|
libopus
|
||||||
pynacl
|
pynacl
|
||||||
|
Loading…
Reference in New Issue
Block a user