Files
nixpkgs/pkgs/development/python-modules/argcomplete/default.nix
T

39 lines
876 B
Nix
Raw Normal View History

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