2020-03-26 09:26:15 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib
|
|
|
|
, dicttoxml
|
|
|
|
, importlib-metadata
|
|
|
|
, pexpect
|
|
|
|
, prettytable
|
|
|
|
, requests_toolbelt
|
2017-05-26 14:36:19 +01:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argcomplete";
|
2020-09-29 17:00:23 +01:00
|
|
|
version = "1.12.1";
|
2017-05-26 14:36:19 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-29 17:00:23 +01:00
|
|
|
sha256 = "849c2444c35bb2175aea74100ca5f644c29bf716429399c0f2203bb5d9a8e4e6";
|
2017-05-26 14:36:19 +01:00
|
|
|
};
|
|
|
|
|
2020-03-26 09:26:15 +00:00
|
|
|
doCheck = false; # meant to be ran with interactive interpreter
|
2017-05-26 14:36:19 +01:00
|
|
|
|
|
|
|
# re-enable if we are able to make testing work
|
2020-03-26 09:26:15 +00:00
|
|
|
# checkInputs = [ bashInteractive coverage flake8 ];
|
2017-05-26 14:36:19 +01:00
|
|
|
|
2020-03-26 09:26:15 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dicttoxml
|
|
|
|
importlib-metadata
|
|
|
|
pexpect
|
|
|
|
prettytable
|
|
|
|
requests_toolbelt
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "argcomplete" ];
|
2017-05-26 14:36:19 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bash tab completion for argparse";
|
2020-03-26 09:26:15 +00:00
|
|
|
homepage = "https://kislyuk.github.io/argcomplete/";
|
2017-05-26 14:36:19 +01:00
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
};
|
|
|
|
}
|