2017-05-26 15:36:19 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, lib,
|
|
|
|
coverage, dicttoxml, flake8, pexpect, prettytable, requests_toolbelt
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "argcomplete";
|
2017-11-24 20:36:20 +01:00
|
|
|
version = "1.9.3";
|
2017-05-26 15:36:19 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 20:36:20 +01:00
|
|
|
sha256 = "d97b7f3cfaa4e494ad59ed6d04c938fc5ed69b590bd8f53274e258fb1119bd1b";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|