Merge pull request #121792 from fabaff/bump-discordpy

python3Packages.discordpy: 1.7.1 -> 1.7.2
This commit is contained in:
Martin Weinelt 2021-05-05 22:29:47 +02:00 committed by GitHub
commit a7da21b162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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