python3Packages.androidtv: split off extra requires

This commit is contained in:
Martin Weinelt 2022-04-07 05:17:30 +02:00
parent aa90072fc9
commit 83f634c4e4
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -25,14 +25,22 @@ buildPythonPackage rec {
propagatedBuildInputs = [
adb-shell
aiofiles
pure-python-adb
];
passthru.extras-require = {
async = [
aiofiles
];
inherit (adb-shell.extras-require) usb;
};
checkInputs = [
mock
pytestCheckHook
];
]
++ passthru.extras-require.async
++ passthru.extras-require.usb;
disabledTests = [
# Requires git but fails anyway