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