python3Packages.jishaku: 2.6.0 -> 2.6.3 (#482837)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
bash,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
discordpy,
|
||||
click,
|
||||
@@ -12,28 +11,20 @@
|
||||
tabulate,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
youtube-dl,
|
||||
typing-extensions,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "jishaku";
|
||||
version = "2.6.0";
|
||||
version = "2.6.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Gorialis";
|
||||
repo = "jishaku";
|
||||
tag = version;
|
||||
hash = "sha256-+J8Tr8jPN9K3eHLOuJTaP3We5A1kiyn9/yI1KChbuMY=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-8kSdzrut7LYjglpHc5dToOIQTrPsW4lVAeIWY4rzdmU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# add entrypoint for install script
|
||||
url = "https://github.com/Gorialis/jishaku/commit/b96cd55a1c2fd154c548f08019ccd6f7be9c7f90.patch";
|
||||
hash = "sha256-laPoupwCC1Zthib8G+c1BXqTwZK0Z6up1DKVkhFicJ0=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace jishaku/shell.py \
|
||||
--replace-fail '"/bin/bash"' '"${lib.getExe bash}"'
|
||||
@@ -47,12 +38,12 @@ buildPythonPackage rec {
|
||||
braceexpand
|
||||
tabulate
|
||||
import-expression
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
youtube-dl
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
@@ -64,9 +55,9 @@ buildPythonPackage rec {
|
||||
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/${src.tag}";
|
||||
changelog = "https://github.com/Gorialis/jishaku/releases/tag/${finalAttrs.src.tag}";
|
||||
maintainers = [ ];
|
||||
mainProgram = "jishaku";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user