From b9140da9e2a8e3a5b9eae87700f6c6ba058f05ab Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Mon, 14 Dec 2020 03:56:10 +0100 Subject: [PATCH] pythonPackages.discordpy: remove overly restrictive version constraints --- pkgs/development/python-modules/discordpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/discordpy/default.nix b/pkgs/development/python-modules/discordpy/default.nix index e2a4625c60e4..4f784642537f 100644 --- a/pkgs/development/python-modules/discordpy/default.nix +++ b/pkgs/development/python-modules/discordpy/default.nix @@ -23,8 +23,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp websockets ]; patchPhase = '' substituteInPlace "requirements.txt" \ - --replace "aiohttp>=3.6.0,<3.7.0" "aiohttp~=3.6.0" \ - --replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets>=6" + --replace "aiohttp>=3.6.0,<3.7.0" "aiohttp" \ + --replace "websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0" "websockets" '' + lib.optionalString withVoice '' substituteInPlace "discord/opus.py" \ --replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"