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