diff options
Diffstat (limited to 'pkgs/development/python-modules/zha/default.nix')
-rw-r--r-- | pkgs/development/python-modules/zha/default.nix | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index d6d23f46611a4..7958be28794c2 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -1,27 +1,28 @@ -{ lib -, awesomeversion -, bellows -, buildPythonPackage -, fetchFromGitHub -, pyserial -, pyserial-asyncio -, pyserial-asyncio-fast -, pytest-asyncio -, pytest-timeout -, pytest-xdist -, pytestCheckHook -, python-slugify -, pythonOlder -, pythonRelaxDepsHook -, setuptools -, universal-silabs-flasher -, wheel -, zha-quirks -, zigpy -, zigpy-deconz -, zigpy-xbee -, zigpy-zigate -, zigpy-znp +{ + lib, + awesomeversion, + bellows, + buildPythonPackage, + fetchFromGitHub, + pyserial, + pyserial-asyncio, + pyserial-asyncio-fast, + pytest-asyncio, + pytest-timeout, + pytest-xdist, + pytestCheckHook, + python-slugify, + pythonOlder, + pythonRelaxDepsHook, + setuptools, + universal-silabs-flasher, + wheel, + zha-quirks, + zigpy, + zigpy-deconz, + zigpy-xbee, + zigpy-zigate, + zigpy-znp, }: buildPythonPackage rec { @@ -45,13 +46,12 @@ buildPythonPackage rec { ''; pythonRelaxDeps = [ + "bellows" "universal-silabs-flasher" "zha-quirks" ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; build-system = [ setuptools @@ -81,9 +81,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "zha" - ]; + pythonImportsCheck = [ "zha" ]; disabledTests = [ # Tests are long-running and often keep hanging @@ -106,9 +104,7 @@ buildPythonPackage rec { "test_zha_group_light_entity" ]; - disabledTestPaths = [ - "tests/test_cluster_handlers.py" - ]; + disabledTestPaths = [ "tests/test_cluster_handlers.py" ]; pytestFlagsArray = [ "-v" |