20 buildPythonPackage rec {
25 disabled = pythonOlder "3.7";
27 src = fetchFromGitHub {
30 rev = "refs/tags/v${version}";
31 hash = "sha256-5DuqM7MgntV/3WquR+0Cr/vIwYL35ZVpGlNZPj92jJ4=";
35 substituteInPlace pyproject.toml \
36 --replace-fail "timeout = 20" "timeout = 300" \
37 --replace-fail ', "setuptools-git-versioning<2"' "" \
38 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
41 build-system = [ setuptools ];
51 doCheck = false; # tests are not compatible with zigpy 0.65.3
62 pytestFlagsArray = [ "--reruns=3" ];
65 # failing since zigpy 0.60.0
67 "test_nonstandard_profile"
69 "test_request_recovery_route_rediscovery_zdo"
72 "test_zigpy_request_failure"
75 pythonImportsCheck = [ "zigpy_znp" ];
78 description = "Library for zigpy which communicates with TI ZNP radios";
79 homepage = "https://github.com/zigpy/zigpy-znp";
80 changelog = "https://github.com/zigpy/zigpy-znp/releases/tag/v${version}";
81 license = licenses.gpl3Plus;
82 maintainers = with maintainers; [ mvnetbiz ];
83 platforms = platforms.linux;