19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-knWCCshsFvnMXknzpzYLCqb/ADB1Vl4RH5PBbxD5WgE=";
34 substituteInPlace pyproject.toml \
35 --replace-fail '"setuptools-git-versioning<2"' "" \
36 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
39 build-system = [ setuptools ];
48 ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
56 pythonImportsCheck = [ "bellows" ];
59 description = "Python module to implement EZSP for EmberZNet devices";
60 homepage = "https://github.com/zigpy/bellows";
61 changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
62 license = licenses.gpl3Plus;
63 maintainers = with maintainers; [ mvnetbiz ];
64 mainProgram = "bellows";