25 buildPythonPackage rec {
30 disabled = pythonOlder "3.8";
32 src = fetchFromGitHub {
35 rev = "refs/tags/${version}";
36 hash = "sha256-iZxHXxheyoA5vo0Pxojs7QE8rSyTpsYpJ6/OzDSZJ20=";
40 substituteInPlace pyproject.toml \
41 --replace-fail '"setuptools-git-versioning<2"' "" \
42 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
60 ] ++ lib.optionals (pythonOlder "3.9") [
62 ] ++ lib.optionals (pythonOlder "3.11") [
75 # # Our two manual scans succeeded and the periodic one was attempted
76 # assert len(mock_scan.mock_calls) == 3
77 # AssertionError: assert 4 == 3
78 "test_periodic_scan_priority"
82 # Tests require network access
83 "tests/ota/test_ota_providers.py"
86 pythonImportsCheck = [
95 description = "Library implementing a ZigBee stack";
96 homepage = "https://github.com/zigpy/zigpy";
97 changelog = "https://github.com/zigpy/zigpy/releases/tag/${version}";
98 license = licenses.gpl3Plus;
99 maintainers = with maintainers; [ mvnetbiz ];
100 platforms = platforms.linux;