2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib
|
|
|
|
, dicttoxml
|
|
|
|
, importlib-metadata
|
|
|
|
, pexpect
|
|
|
|
, prettytable
|
2021-07-24 12:14:16 +00:00
|
|
|
, requests-toolbelt
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.12.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445";
|
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
|
2021-07-24 12:14:16 +00:00
|
|
|
requests-toolbelt
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "argcomplete" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bash tab completion for argparse";
|
|
|
|
homepage = "https://kislyuk.github.io/argcomplete/";
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
};
|
|
|
|
}
|