4 bluetooth-sensor-state-data,
8 home-assistant-bluetooth,
14 buildPythonPackage rec {
15 pname = "ruuvitag-ble";
19 disabled = pythonOlder "3.9";
21 src = fetchFromGitHub {
22 owner = "Bluetooth-Devices";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-J+807p2mE+VZ0oqldFtjdcNGsRTkAU54s6byQSGrng4=";
28 nativeBuildInputs = [ hatchling ];
30 propagatedBuildInputs = [
32 bluetooth-sensor-state-data
33 home-assistant-bluetooth
37 nativeCheckInputs = [ pytestCheckHook ];
40 substituteInPlace pyproject.toml \
41 --replace " --cov=ruuvitag_ble --cov-report=term-missing:skip-covered" ""
44 pythonImportsCheck = [ "ruuvitag_ble" ];
47 description = "Library for Ruuvitag BLE devices";
48 homepage = "https://github.com/Bluetooth-Devices/ruuvitag-ble";
49 license = with licenses; [ mit ];
50 maintainers = with maintainers; [ fab ];