diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:26:11 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:31:53 +0200 |
commit | 272430c82399d0a2f22b51dd0e564a8709ba6782 (patch) | |
tree | 4bc42f8b3229f50b0e2305e0c0895edb63314fb0 /pkgs/development/python-modules/adb-shell | |
parent | 809ffd6cd33b0020c6ac0be57bf25f3da4c17d31 (diff) |
treewide: migrate python packages to optional-dependencies
This follows the term used by PEP 621.
Diffstat (limited to 'pkgs/development/python-modules/adb-shell')
-rw-r--r-- | pkgs/development/python-modules/adb-shell/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/adb-shell/default.nix b/pkgs/development/python-modules/adb-shell/default.nix index 792729da1fac9..bc10948f070fb 100644 --- a/pkgs/development/python-modules/adb-shell/default.nix +++ b/pkgs/development/python-modules/adb-shell/default.nix @@ -33,7 +33,7 @@ buildPythonPackage rec { rsa ]; - passthru.extras-require = { + passthru.optional-dependencies = { async = [ aiofiles ]; @@ -47,8 +47,8 @@ buildPythonPackage rec { pycryptodome pytestCheckHook ] - ++ passthru.extras-require.async - ++ passthru.extras-require.usb; + ++ passthru.optional-dependencies.async + ++ passthru.optional-dependencies.usb; disabledTests = lib.optionals (pythonAtLeast "3.10") [ # Tests are failing with Python 3.10 |