1{ buildPythonPackage, fetchPypi, lib,
2 coverage, dicttoxml, flake8, pexpect, prettytable, requests_toolbelt
3}:
4buildPythonPackage rec {
5 name = "${pname}-${version}";
6 pname = "argcomplete";
7 version = "1.9.4";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1";
12 };
13
14 doCheck = false; # bash-completion test fails with "compgen: command not found".
15
16 # re-enable if we are able to make testing work
17 # buildInputs = [ coverage flake8 ];
18
19 propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ];
20
21 meta = with lib; {
22 description = "Bash tab completion for argparse";
23 homepage = https://argcomplete.readthedocs.io;
24 maintainers = [ maintainers.womfoo ];
25 license = [ licenses.asl20 ];
26 };
27}