1{ buildPythonPackage, fetchPypi, lib
2, dicttoxml
3, importlib-metadata
4, pexpect
5, prettytable
6, requests-toolbelt
7}:
8buildPythonPackage rec {
9 pname = "argcomplete";
10 version = "2.0.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "6372ad78c89d662035101418ae253668445b391755cfe94ea52f1b9d22425b20";
15 };
16
17 doCheck = false; # meant to be ran with interactive interpreter
18
19 # re-enable if we are able to make testing work
20 # checkInputs = [ bashInteractive coverage flake8 ];
21
22 propagatedBuildInputs = [
23 dicttoxml
24 importlib-metadata
25 pexpect
26 prettytable
27 requests-toolbelt
28 ];
29
30 pythonImportsCheck = [ "argcomplete" ];
31
32 meta = with lib; {
33 description = "Bash tab completion for argparse";
34 homepage = "https://kislyuk.github.io/argcomplete/";
35 maintainers = [ maintainers.womfoo ];
36 license = [ licenses.asl20 ];
37 };
38}