19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 hash = "sha256-bv4I+Ol/N4kbp/Ch7utaUpo0GmF+Mpx4zWmHL7uIveM=";
36 ffmpeg = "${ffmpeg}/bin/ffmpeg";
37 libopus = "${libopus}/lib/libopus${stdenv.hostPlatform.extensions.sharedLibrary}";
52 setuptools # for pkg_resources, remove with next release
55 # upstream has no tests
58 pythonImportsCheck = [
60 "nextcord.ext.commands"
65 changelog = "https://github.com/nextcord/nextcord/blob/${src.rev}/docs/whats_new.rst";
66 description = "Python wrapper for the Discord API forked from discord.py";
67 homepage = "https://github.com/nextcord/nextcord";
68 license = licenses.mit;
69 maintainers = with maintainers; [ dotlambda ];