Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 26 lines 752 B view raw
1{ buildPythonPackage, fetchPypi, lib, 2 dicttoxml, pexpect, prettytable, requests_toolbelt 3}: 4buildPythonPackage rec { 5 pname = "argcomplete"; 6 version = "1.10.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1hdysr9z28sgwv47mivf4iyr1sg19hgfz349dghgdlk3rkl6v0s5"; 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}