2017-05-26 15:36:19 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, lib,
|
2018-07-21 02:44:44 +02:00
|
|
|
dicttoxml, pexpect, prettytable, requests_toolbelt
|
2017-05-26 15:36:19 +02:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2019-04-16 19:15:33 +02:00
|
|
|
version = "1.9.5";
|
2017-05-26 15:36:19 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 19:15:33 +02:00
|
|
|
sha256 = "94423d1a56cdec2ef47699e02c9a48cf8827b9c4465b836c0cefb30afe85e59a";
|
2017-05-26 15:36:19 +02: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 22:03:30 +02:00
|
|
|
homepage = https://argcomplete.readthedocs.io;
|
2017-05-26 15:36:19 +02:00
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
};
|
|
|
|
}
|