2017-05-26 13:36:19 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib,
|
2018-07-21 00:44:44 +00:00
|
|
|
dicttoxml, pexpect, prettytable, requests_toolbelt
|
2017-05-26 13:36:19 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2018-02-17 13:18:03 +00:00
|
|
|
version = "1.9.4";
|
2017-05-26 13:36:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 13:18:03 +00:00
|
|
|
sha256 = "06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1";
|
2017-05-26 13:36:19 +00: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 20:03:30 +00:00
|
|
|
homepage = https://argcomplete.readthedocs.io;
|
2017-05-26 13:36:19 +00:00
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
};
|
|
|
|
}
|