Merge pull request #34392 from dotlambda/discordpy-broken
pythonPackages.discordpy: Mark as broken
This commit is contained in:
commit
f0eee3e351
@ -1,5 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchurl
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, withVoice ? true, libopus
|
, withVoice ? true, libopus
|
||||||
@ -9,14 +9,12 @@
|
|||||||
, pynacl
|
, pynacl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
buildPythonPackage rec {
|
||||||
pname = "discord.py";
|
pname = "discord.py";
|
||||||
version = "0.16.12";
|
version = "0.16.12";
|
||||||
in buildPythonPackage rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "17fb8814100fbaf7a79468baa432184db6cef3bbea4ad194fe297c7407d50108";
|
sha256 = "17fb8814100fbaf7a79468baa432184db6cef3bbea4ad194fe297c7407d50108";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -38,5 +36,9 @@ in buildPythonPackage rec {
|
|||||||
description = "A python wrapper for the Discord API";
|
description = "A python wrapper for the Discord API";
|
||||||
homepage = "https://discordpy.rtfd.org/";
|
homepage = "https://discordpy.rtfd.org/";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
|
|
||||||
|
# discord.py requires websockets<4.0
|
||||||
|
# See https://github.com/Rapptz/discord.py/issues/973
|
||||||
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user