Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, bash, buildPythonPackage, fetchFromGitHub, setuptools, discordpy, click, braceexpand, import-expression, tabulate, pytestCheckHook, pytest-asyncio, typing-extensions,}:buildPythonPackage (finalAttrs: { pname = "jishaku"; version = "2.6.3"; pyproject = true;
src = fetchFromGitHub { owner = "Gorialis"; repo = "jishaku"; tag = finalAttrs.version; hash = "sha256-8kSdzrut7LYjglpHc5dToOIQTrPsW4lVAeIWY4rzdmU="; };
postPatch = '' substituteInPlace jishaku/shell.py \ --replace-fail '"/bin/bash"' '"${lib.getExe bash}"' '';
build-system = [ setuptools ];
dependencies = [ discordpy click braceexpand tabulate import-expression typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [ "jishaku" "jishaku.repl" "jishaku.features" ];
meta = { description = "Debugging and testing cog for discord.py bots"; homepage = "https://jishaku.readthedocs.io/en/latest"; changelog = "https://github.com/Gorialis/jishaku/releases/tag/${finalAttrs.src.tag}"; maintainers = [ ]; mainProgram = "jishaku"; license = lib.licenses.mit; };})