Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / click-command-tree / default.nix
blobccd7e74fc8dcf7b782a33a73965580e0eeb2fa60
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , click
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "click-command-tree";
10   version = "1.1.1";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "whwright";
15     repo = pname;
16     rev = version;
17     hash = "sha256-uBp7462LutL8aFRFix3pbVYbSf1af6k0nW0J0HhJa1U=";
18   };
20   propagatedBuildInputs = [
21     click
22   ];
24   nativeCheckInputs = [
25     pytestCheckHook
26   ];
28   pytestFlagsArray = [
29     "tests.py"
30   ];
32   pythonImportsCheck = [ "click_command_tree" ];
34   meta = with lib; {
35     description = "click plugin to show the command tree of your CLI";
36     homepage = "https://github.com/whwright/click-command-tree";
37     license = licenses.mit;
38     maintainers = with maintainers; [ tjni ];
39   };