20 buildPythonPackage rec {
25 disabled = pythonOlder "3.8";
27 src = fetchFromGitHub {
30 rev = "refs/tags/${version}";
31 hash = "sha256-i2P9QyhT/UQ8Xu0IfQ2OzAxIiMF4H04Jkz3/6e2FCpY=";
35 substituteInPlace pyproject.toml \
36 --replace '"setuptools-git-versioning<2"' "" \
37 --replace 'dynamic = ["version"]' 'version = "${version}"'
45 propagatedBuildInputs = [
63 # # Our two manual scans succeeded and the periodic one was attempted
64 # assert len(mock_scan.mock_calls) == 3
65 # AssertionError: assert 4 == 3
66 "test_periodic_scan_priority"
69 pythonImportsCheck = [
78 description = "Library implementing a ZigBee stack";
79 homepage = "https://github.com/zigpy/zigpy";
80 changelog = "https://github.com/zigpy/zigpy/releases/tag/${version}";
81 license = licenses.gpl3Plus;
82 maintainers = with maintainers; [ mvnetbiz ];
83 platforms = platforms.linux;