2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib
|
|
|
|
, dicttoxml
|
|
|
|
, importlib-metadata
|
|
|
|
, pexpect
|
|
|
|
, prettytable
|
|
|
|
, requests_toolbelt
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.12.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "0p19rkvh28klkkd1c6y78h6vb9b9cnlyr7qrshkxghfjkz85xgig";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|