8 , pyserial-asyncio-fast
17 , universal-silabs-flasher
27 buildPythonPackage rec {
32 disabled = pythonOlder "3.12";
34 src = fetchFromGitHub {
37 rev = "refs/tags/${version}";
38 hash = "sha256-xOaqwgL8NqB3pHNa6U/wextntI5aMivHLaIhSRqvgRU=";
42 substituteInPlace pyproject.toml \
43 --replace-fail '"setuptools-git-versioning<2"' "" \
44 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
48 "universal-silabs-flasher"
68 universal-silabs-flasher
84 pythonImportsCheck = [
89 # Tests are long-running and often keep hanging
90 "test_check_available_no_basic_cluster_handler"
91 "test_check_available_success"
92 "test_check_available_unsuccessful"
93 "test_device_counter_sensors"
95 "test_device_unavailable_skips_entity_polling"
96 "test_elec_measurement_sensor_polling"
97 "test_electrical_measurement_init"
98 "test_group_member_assume_state"
105 "test_siren_timed_off"
106 "test_zha_group_light_entity"
109 disabledTestPaths = [
110 "tests/test_cluster_handlers.py"
119 description = "Zigbee Home Automation";
120 homepage = "https://github.com/zigpy/zha";
121 changelog = "https://github.com/zigpy/zha/releases/tag/${version}";
122 license = licenses.gpl3Only;
123 maintainers = with maintainers; [ fab ];