6 bluetooth-sensor-state-data,
10 home-assistant-bluetooth,
18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
26 owner = "Bluetooth-Devices";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-dZJsB40BMPo0tOFq0vLILrwfezf5dnspFK/aZWOV4uc=";
33 substituteInPlace pyproject.toml \
34 --replace-fail " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" ""
37 build-system = [ poetry-core ];
40 pythonRelaxDeps = [ "pycryptodomex" ];
46 bluetooth-sensor-state-data
48 home-assistant-bluetooth
53 nativeCheckInputs = [ pytestCheckHook ];
55 pythonImportsCheck = [ "xiaomi_ble" ];
58 description = "Library for Xiaomi BLE devices";
59 homepage = "https://github.com/Bluetooth-Devices/xiaomi-ble";
60 changelog = "https://github.com/Bluetooth-Devices/xiaomi-ble/releases/tag/v${version}";
61 license = with licenses; [ mit ];
62 maintainers = with maintainers; [ fab ];