about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zha/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/zha/default.nix')
-rw-r--r--pkgs/development/python-modules/zha/default.nix66
1 files changed, 31 insertions, 35 deletions
diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix
index d6d23f46611a4..e3d33af5d0689 100644
--- a/pkgs/development/python-modules/zha/default.nix
+++ b/pkgs/development/python-modules/zha/default.nix
@@ -1,32 +1,33 @@
-{ 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 {
   pname = "zha";
-  version = "0.0.8";
+  version = "0.0.9";
   pyproject = true;
 
   disabled = pythonOlder "3.12";
@@ -35,7 +36,7 @@ buildPythonPackage rec {
     owner = "zigpy";
     repo = "zha";
     rev = "refs/tags/${version}";
-    hash = "sha256-xOaqwgL8NqB3pHNa6U/wextntI5aMivHLaIhSRqvgRU=";
+    hash = "sha256-wQY355KUsN91y3lgj9k3ceeHb6a0faxiguIFK4ZwPIE=";
   };
 
   postPatch = ''
@@ -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"