mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
Merge pull request #101437 from IvarWithoutBones/discordpy-update
discordpy: 1.3.4 -> 1.5.1
This commit is contained in:
commit
cddd4fad6b
@ -5,12 +5,11 @@
|
|||||||
, withVoice ? true, libopus
|
, withVoice ? true, libopus
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, websockets
|
, websockets
|
||||||
, pynacl
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "discord.py";
|
pname = "discord.py";
|
||||||
version = "1.3.4";
|
version = "1.5.1";
|
||||||
disabled = pythonOlder "3.5.3";
|
disabled = pythonOlder "3.5.3";
|
||||||
|
|
||||||
# only distributes wheels on pypi now
|
# only distributes wheels on pypi now
|
||||||
@ -18,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Rapptz";
|
owner = "Rapptz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1i4h6vq681x8s05wi0n3ykavsxjh9hxdxn6banwjcqzhxzkyhsxi";
|
sha256 = "1bidyclwv20p1kfphj21r5gm3kr2vxx0zd151wg7fcngbbx7gmza";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp websockets ];
|
propagatedBuildInputs = [ aiohttp websockets ];
|
||||||
@ -31,7 +30,6 @@ buildPythonPackage rec {
|
|||||||
--replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
|
--replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
# only have integration tests with discord
|
# only have integration tests with discord
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -46,9 +44,10 @@ buildPythonPackage rec {
|
|||||||
"discord.ext.commands.bot"
|
"discord.ext.commands.bot"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
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;
|
maintainers = [ maintainers.ivar ];
|
||||||
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user