about summary refs log tree commit diff
path: root/pkgs/development/python-modules/argcomplete/default.nix
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-03-26 02:26:15 -0700
committerJonathan Ringer <jonringer117@gmail.com>2020-03-26 10:12:38 -0700
commit41e1594f460ec3c22df7530d1b58602290559626 (patch)
tree400fa21cb2ac13c0b1e69025100103d991aeeb1c /pkgs/development/python-modules/argcomplete/default.nix
parent461784ffe476f7c0148f8191386ca49c621436d9 (diff)
python3Packages.argcomplete: 1.10.3 -> 1.11.1
Diffstat (limited to 'pkgs/development/python-modules/argcomplete/default.nix')
-rw-r--r--pkgs/development/python-modules/argcomplete/default.nix28
1 files changed, 20 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/argcomplete/default.nix b/pkgs/development/python-modules/argcomplete/default.nix
index 6f978778f7da1..b34b878a839c2 100644
--- a/pkgs/development/python-modules/argcomplete/default.nix
+++ b/pkgs/development/python-modules/argcomplete/default.nix
@@ -1,25 +1,37 @@
-{ buildPythonPackage, fetchPypi, lib,
-  dicttoxml, pexpect, prettytable, requests_toolbelt
+{ buildPythonPackage, fetchPypi, lib
+, dicttoxml
+, importlib-metadata
+, pexpect
+, prettytable
+, requests_toolbelt
 }:
 buildPythonPackage rec {
   pname = "argcomplete";
-  version = "1.10.3";
+  version = "1.11.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "a37f522cf3b6a34abddfedb61c4546f60023b3799b22d1cd971eacdc0861530a";
+    sha256 = "0h1przxffrhqvi46k40pzjsvdrq4zc3sl1pc96kkigqppq0vdrss";
   };
 
-  doCheck = false; # bash-completion test fails with "compgen: command not found".
+  doCheck = false; # meant to be ran with interactive interpreter
 
   # re-enable if we are able to make testing work
-  # buildInputs = [ coverage flake8 ];
+  # checkInputs = [ bashInteractive coverage flake8 ];
 
-  propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ];
+  propagatedBuildInputs = [
+    dicttoxml
+    importlib-metadata
+    pexpect
+    prettytable
+    requests_toolbelt
+  ];
+
+  pythonImportsCheck = [ "argcomplete" ];
 
   meta = with lib; {
     description = "Bash tab completion for argparse";
-    homepage = https://argcomplete.readthedocs.io;
+    homepage = "https://kislyuk.github.io/argcomplete/";
     maintainers = [ maintainers.womfoo ];
     license = [ licenses.asl20 ];
   };