1{ buildPythonPackage, fetchPypi, lib, 2 dicttoxml, pexpect, prettytable, requests_toolbelt 3}: 4buildPythonPackage rec { 5 pname = "argcomplete"; 6 version = "1.9.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1"; 11 }; 12 13 doCheck = false; # bash-completion test fails with "compgen: command not found". 14 15 # re-enable if we are able to make testing work 16 # buildInputs = [ coverage flake8 ]; 17 18 propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ]; 19 20 meta = with lib; { 21 description = "Bash tab completion for argparse"; 22 homepage = https://argcomplete.readthedocs.io; 23 maintainers = [ maintainers.womfoo ]; 24 license = [ licenses.asl20 ]; 25 }; 26}