Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
768 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ 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 = 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 ]; };}