depot/third_party/nixpkgs/pkgs/development/python-modules/argcomplete/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
864 B
Nix

{ buildPythonPackage, fetchPypi, lib
, dicttoxml
, importlib-metadata
, pexpect
, prettytable
, requests_toolbelt
}:
buildPythonPackage rec {
pname = "argcomplete";
version = "1.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "0h1przxffrhqvi46k40pzjsvdrq4zc3sl1pc96kkigqppq0vdrss";
};
doCheck = false; # meant to be ran with interactive interpreter
# re-enable if we are able to make testing work
# checkInputs = [ bashInteractive coverage flake8 ];
propagatedBuildInputs = [
dicttoxml
importlib-metadata
pexpect
prettytable
requests_toolbelt
];
pythonImportsCheck = [ "argcomplete" ];
meta = with lib; {
description = "Bash tab completion for argparse";
homepage = "https://kislyuk.github.io/argcomplete/";
maintainers = [ maintainers.womfoo ];
license = [ licenses.asl20 ];
};
}