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
, pynacl
, pythonOlder
, websockets
, withVoice ? true
}:
buildPythonPackage rec {
pname = "discord.py";
version = "1.7.1";
version = "1.7.2";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Rapptz";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dpASIqe6rJEyiWJyPbQhq9M54lX1ilfp4UuGnbJcFLo=";
sha256 = "sha256-NY1/RKp8w9gAqGYXnCNhNZqR/inGMvUvxjJ1MMs62B8=";
};
propagatedBuildInputs = [
aiohttp
websockets
] ++ lib.optionalString withVoice [
libopus
pynacl