python310Packages.click-command-tree: init at 1.1.0
This commit is contained in:
parent
ca2cc36c68
commit
78746f5621
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, click
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-command-tree";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "whwright";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-vFOcn+ibyLZnhU3OQMtnHI04UqAY2/CCvhq4EEU4XFo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "remove-setup-downloading-flake8.patch";
|
||||
url = "https://github.com/whwright/click-command-tree/commit/1ecfcfa29bf01e1131e6ec712bd7338ac1283dc8.patch";
|
||||
hash = "sha256-u5jsNfEo1+XNlkVGPCM/rsDPnYko6cr2z2si9nq+sLA=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "click_command_tree" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "click plugin to show the command tree of your CLI";
|
||||
homepage = "https://github.com/whwright/click-command-tree";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tjni ];
|
||||
};
|
||||
}
|
@ -1750,6 +1750,8 @@ self: super: with self; {
|
||||
|
||||
clickclick = callPackage ../development/python-modules/clickclick { };
|
||||
|
||||
click-command-tree = callPackage ../development/python-modules/click-command-tree { };
|
||||
|
||||
click-completion = callPackage ../development/python-modules/click-completion { };
|
||||
|
||||
click-configfile = callPackage ../development/python-modules/click-configfile { };
|
||||
|
Loading…
Reference in New Issue
Block a user