python3Packages.pytradfri: split off async extra

This commit is contained in:
Martin Weinelt 2022-04-07 05:11:15 +02:00
parent 7d4be895ad
commit e365a5bc06
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -21,14 +21,17 @@ buildPythonPackage rec {
hash = "sha256-12ol+2CnoPfkxmDGJJAkoafHGpQuWC4lh0N7lSvx2DE=";
};
propagatedBuildInputs = [
aiocoap
dtlssocket
];
passthru.extras-require = {
async = [
aiocoap
dtlssocket
];
};
checkInputs = [
pytestCheckHook
];
]
++ passthru.extras-require.async;
pythonImportsCheck = [
"pytradfri"