2017-05-26 14:36:19 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib,
|
2018-07-21 01:44:44 +01:00
|
|
|
dicttoxml, pexpect, prettytable, requests_toolbelt
|
2017-05-26 14:36:19 +01:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2019-05-22 13:19:00 +01:00
|
|
|
version = "1.10.0";
|
2017-05-26 14:36:19 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-22 13:19:00 +01:00
|
|
|
sha256 = "1hdysr9z28sgwv47mivf4iyr1sg19hgfz349dghgdlk3rkl6v0s5";
|
2017-05-26 14:36:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # bash-completion test fails with "compgen: command not found".
|
|
|
|
|
|
|
|
# re-enable if we are able to make testing work
|
|
|
|
# buildInputs = [ coverage flake8 ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bash tab completion for argparse";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://argcomplete.readthedocs.io;
|
2017-05-26 14:36:19 +01:00
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
};
|
|
|
|
}
|