4 bluetooth-sensor-state-data,
7 home-assistant-bluetooth,
14 buildPythonPackage rec {
19 disabled = pythonOlder "3.9";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-ozZwVgTV/xYl1nXLiybcPs6DQKocNdbxTEYDfYyQuvY=";
29 substituteInPlace pyproject.toml \
30 --replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" ""
33 nativeBuildInputs = [ poetry-core ];
35 propagatedBuildInputs = [
37 bluetooth-sensor-state-data
38 home-assistant-bluetooth
42 nativeCheckInputs = [ pytestCheckHook ];
44 pythonImportsCheck = [ "rapt_ble" ];
47 description = "Library for RAPT Pill hydrometer BLE devices";
48 homepage = "https://github.com/sairon/rapt-ble";
49 changelog = "https://github.com/sairon/rapt-ble/blob/v${version}/CHANGELOG.md";
50 license = with licenses; [ mit ];
51 maintainers = with maintainers; [ fab ];