summary refs log tree commit diff
diff options
context:
space:
mode:
authorMayNiklas <info@niklas-steffen.de>2022-08-18 13:39:52 +0200
committerMayNiklas <info@niklas-steffen.de>2022-08-18 13:39:52 +0200
commita9cd728f69a7267d15d004db99ba7e2c0aee89e3 (patch)
tree7c09e730049dd1de6769e4460b8e95b7d5dedb40
parentb01f02f96cec02e18154986e0795ff305356da17 (diff)
downloadnixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar.gz
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar.bz2
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar.lz
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar.xz
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.tar.zst
nixpkgs-a9cd728f69a7267d15d004db99ba7e2c0aee89e3.zip
python3Packages.discordpy: 1.7.3 -> 2.0.0
-rw-r--r--pkgs/development/python-modules/discordpy/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/discordpy/default.nix b/pkgs/development/python-modules/discordpy/default.nix
index aa88147ae7f..f4450f2fea5 100644
--- a/pkgs/development/python-modules/discordpy/default.nix
+++ b/pkgs/development/python-modules/discordpy/default.nix
@@ -11,7 +11,7 @@
 
 buildPythonPackage rec {
   pname = "discord.py";
-  version = "1.7.3";
+  version = "2.0.0";
   format = "setuptools";
 
   disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
     owner = "Rapptz";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-eKXCzGFSzxpdZed4/4G6uJ96s5yCm6ci8K8XYR1zQlE=";
+    sha256 = "sha256-BhxXsNRgs/ihnlTxNwYTjRwPvneyDF8Q0wS3qr2BG9Q=";
   };
 
   propagatedBuildInputs = [
@@ -34,8 +34,6 @@ buildPythonPackage rec {
   patchPhase = ''
     substituteInPlace "discord/opus.py" \
       --replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
-    substituteInPlace requirements.txt \
-      --replace "aiohttp>=3.6.0,<3.8.0" "aiohttp>=3.6.0,<4"
   '' + lib.optionalString withVoice ''
     substituteInPlace "discord/player.py" \
       --replace "executable='ffmpeg'" "executable='${ffmpeg}/bin/ffmpeg'"