7 bluetooth-sensor-state-data,
8 home-assistant-bluetooth,
13 buildPythonPackage rec {
14 pname = "sensirion-ble";
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
22 repo = "sensirion-ble";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-VeUfrQ/1Hqs9yueUKcv/ZpCDEEy84VDcZpuTT4fXSGw=";
28 substituteInPlace pyproject.toml \
29 --replace " --cov=sensirion_ble --cov-report=term-missing:skip-covered" ""
32 nativeBuildInputs = [ hatchling ];
34 propagatedBuildInputs = [
36 bluetooth-sensor-state-data
37 home-assistant-bluetooth
41 pythonImportsCheck = [ "sensirion_ble" ];
44 description = "Parser for Sensirion BLE devices";
45 homepage = "https://github.com/akx/sensirion-ble";
46 license = licenses.mit;
47 maintainers = with maintainers; [ fab ];