10 buildPythonPackage rec {
11 pname = "click-shell";
13 format = "setuptools";
15 # PyPi release is missing tests
16 src = fetchFromGitHub {
17 owner = "clarkperkins";
19 rev = "refs/tags/${version}";
20 hash = "sha256-4QpQzg0yFuOFymGiTI+A8o6LyX78iTJMqr0ernYbilI=";
23 propagatedBuildInputs = [ click ];
30 pythonImportsCheck = [ "click_shell" ];
32 preCheck = "export HOME=$(mktemp -d)";
35 description = "Extension to click that easily turns your click app into a shell utility";
37 This is an extension to click that easily turns your click app into a
38 shell utility. It is built on top of the built in python cmd module,
39 with modifications to make it work with click. It adds a 'shell' mode
40 with command completion to any click app.
42 homepage = "https://github.com/clarkperkins/click-shell";
43 license = licenses.bsd3;
44 maintainers = with maintainers; [ binsky ];