mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
39 lines
876 B
Nix
39 lines
876 B
Nix
{ buildPythonPackage, fetchPypi, lib
|
|
, dicttoxml
|
|
, importlib-metadata
|
|
, pexpect
|
|
, prettytable
|
|
, requests_toolbelt
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "argcomplete";
|
|
version = "1.12.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "de0e1282330940d52ea92a80fea2e4b9e0da1932aaa570f84d268939d1897b04";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|