pythonPackages.argcomplete: init at 1.8.2
This commit is contained in:
parent
81319583bc
commit
a61e58b121
27
pkgs/development/python-modules/argcomplete/default.nix
Normal file
27
pkgs/development/python-modules/argcomplete/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ buildPythonPackage, fetchPypi, lib,
|
||||||
|
coverage, dicttoxml, flake8, pexpect, prettytable, requests_toolbelt
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "argcomplete";
|
||||||
|
version = "1.8.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0sslhl1klvh92c8hjsz3y3mmnpcqspcgi49g5cik2rpbfkhcsb3s";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # bash-completion test fails with "compgen: command not found".
|
||||||
|
|
||||||
|
# re-enable if we are able to make testing work
|
||||||
|
# buildInputs = [ coverage flake8 ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Bash tab completion for argparse";
|
||||||
|
homepage = "https://argcomplete.readthedocs.io";
|
||||||
|
maintainers = [ maintainers.womfoo ];
|
||||||
|
license = [ licenses.asl20 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1159,6 +1159,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
argcomplete = callPackage ../development/python-modules/argcomplete { };
|
||||||
|
|
||||||
area53 = buildPythonPackage (rec {
|
area53 = buildPythonPackage (rec {
|
||||||
name = "Area53-0.94";
|
name = "Area53-0.94";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user