python3Packages.adb-shell: split off extra requires
This commit is contained in:
parent
e365a5bc06
commit
aa90072fc9
1 changed files with 12 additions and 3 deletions
|
@ -28,18 +28,27 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiofiles
|
|
||||||
cryptography
|
cryptography
|
||||||
libusb1
|
|
||||||
pyasn1
|
pyasn1
|
||||||
rsa
|
rsa
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.extras-require = {
|
||||||
|
async = [
|
||||||
|
aiofiles
|
||||||
|
];
|
||||||
|
usb = [
|
||||||
|
libusb1
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mock
|
mock
|
||||||
pycryptodome
|
pycryptodome
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
]
|
||||||
|
++ passthru.extras-require.async
|
||||||
|
++ passthru.extras-require.usb;
|
||||||
|
|
||||||
disabledTests = lib.optionals (pythonAtLeast "3.10") [
|
disabledTests = lib.optionals (pythonAtLeast "3.10") [
|
||||||
# Tests are failing with Python 3.10
|
# Tests are failing with Python 3.10
|
||||||
|
|
Loading…
Reference in a new issue