20 buildPythonPackage rec {
21 pname = "home-assistant-bluetooth";
25 disabled = pythonOlder "3.11";
27 src = fetchFromGitHub {
28 owner = "home-assistant-libs";
29 repo = "home-assistant-bluetooth";
30 rev = "refs/tags/v${version}";
31 hash = "sha256-WAsgiOmYqmt/PCKp+vZA2To95YZAgnYCF8ysCn5N9nc=";
35 # drop pytest parametrization (coverage, etc.)
36 sed -i '/addopts/d' pyproject.toml
45 dependencies = [ habluetooth ];
52 pythonImportsCheck = [ "home_assistant_bluetooth" ];
55 description = "Basic bluetooth models used by Home Assistant";
56 changelog = "https://github.com/home-assistant-libs/home-assistant-bluetooth/blob/v${version}/CHANGELOG.md";
57 homepage = "https://github.com/home-assistant-libs/home-assistant-bluetooth";
58 license = licenses.asl20;
59 maintainers = teams.home-assistant.members;