19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-oxPzjDb+FdHeHsgeGKH3SVvKb0vCB9dIhT7lGzhDcBw=";
35 url = "https://github.com/zigpy/bellows/commit/7833647083f27f55b7ad345f4aaa7dffaa369abc.patch";
36 hash = "sha256-v+BOPqikWoyNtZ1qRWe3RwraG6nQnfZqoV6yj9PpGX8=";
41 substituteInPlace pyproject.toml \
42 --replace-fail '"setuptools-git-versioning<2"' "" \
43 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
57 ] ++ lib.optionals (pythonOlder "3.11") [
67 pythonImportsCheck = [
72 description = "Python module to implement EZSP for EmberZNet devices";
73 homepage = "https://github.com/zigpy/bellows";
74 changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
75 license = licenses.gpl3Plus;
76 maintainers = with maintainers; [ mvnetbiz ];
77 mainProgram = "bellows";