about summary refs log tree commit diff
path: root/pkgs/development/python-modules/adb-shell
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-09-01 09:55:18 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-09-01 09:55:24 +0200
commit847757c2b480cf55228918a7718783fd2227b6d2 (patch)
tree24f7e8c9222ed99b1a0b38d09a2cc4419e755887 /pkgs/development/python-modules/adb-shell
parent0edab9b485884d6e287e76f303f4201992ea3ff5 (diff)
python311Packages.adb-shell: 0.4.3 -> 0.4.4
Diff: https://github.com/JeffLIrion/adb_shell/compare/v0.4.3...v0.4.4
Diffstat (limited to 'pkgs/development/python-modules/adb-shell')
-rw-r--r--pkgs/development/python-modules/adb-shell/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/adb-shell/default.nix b/pkgs/development/python-modules/adb-shell/default.nix
index cdd8ff94b8936..c2f189e2749ae 100644
--- a/pkgs/development/python-modules/adb-shell/default.nix
+++ b/pkgs/development/python-modules/adb-shell/default.nix
@@ -1,5 +1,6 @@
 { lib
 , aiofiles
+, async-timeout
 , buildPythonPackage
 , cryptography
 , fetchFromGitHub
@@ -15,7 +16,7 @@
 
 buildPythonPackage rec {
   pname = "adb-shell";
-  version = "0.4.3";
+  version = "0.4.4";
   format = "setuptools";
 
   disabled = !isPy3k;
@@ -24,7 +25,7 @@ buildPythonPackage rec {
     owner = "JeffLIrion";
     repo = "adb_shell";
     rev = "v${version}";
-    hash = "sha256-+RU3nyJpHq0r/9erEbjUILpwIPWq14HdOX7LkSxySs4=";
+    hash = "sha256-pOkFUh3SEu/ch9R1lVoQn50nufQp8oI+D4/+Ybal5CA=";
   };
 
   propagatedBuildInputs = [
@@ -36,6 +37,7 @@ buildPythonPackage rec {
   passthru.optional-dependencies = {
     async = [
       aiofiles
+      async-timeout
     ];
     usb = [
       libusb1
@@ -46,9 +48,7 @@ buildPythonPackage rec {
     mock
     pycryptodome
     pytestCheckHook
-  ]
-  ++ passthru.optional-dependencies.async
-  ++ passthru.optional-dependencies.usb;
+  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
 
   pythonImportsCheck = [
     "adb_shell"