blob: ccd7e74fc8dcf7b782a33a73965580e0eeb2fa60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "click-command-tree";
version = "1.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "whwright";
repo = pname;
rev = version;
hash = "sha256-uBp7462LutL8aFRFix3pbVYbSf1af6k0nW0J0HhJa1U=";
};
propagatedBuildInputs = [
click
];
nativeCheckInputs = [
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 ];
};
}
|