biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / click-command-tree / default.nix
blob8902c3f13fbe9b77feff7da73cd834847823c115
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   click,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "click-command-tree";
11   version = "1.2.0";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "whwright";
16     repo = pname;
17     rev = "refs/tags/${version}";
18     hash = "sha256-oshAHCGe8p5BQ0W21bXSxrTCEFgIxZ6BmUEiWB1xAoI=";
19   };
21   propagatedBuildInputs = [ click ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   pytestFlagsArray = [ "tests.py" ];
27   pythonImportsCheck = [ "click_command_tree" ];
29   meta = with lib; {
30     description = "click plugin to show the command tree of your CLI";
31     homepage = "https://github.com/whwright/click-command-tree";
32     license = licenses.mit;
33     maintainers = with maintainers; [ tjni ];
34   };