diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index e1c74b084613..70f9acd0380f 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -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"