blob: b83dcda4f04f6a10fbb6195e3036925a4a1833f7 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "click-command-tree";
version = "1.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "whwright";
repo = "click-command-tree";
tag = version;
hash = "sha256-oshAHCGe8p5BQ0W21bXSxrTCEFgIxZ6BmUEiWB1xAoI=";
};
propagatedBuildInputs = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests.py" ];
pythonImportsCheck = [ "click_command_tree" ];
meta = {
description = "Click plugin to show the command tree of your CLI";
homepage = "https://github.com/whwright/click-command-tree";
license = lib.licenses.mit;
};
}
|