{ lib, bluetooth-data-tools, bluetooth-sensor-state-data, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-cov-stub, pytestCheckHook, pythonOlder, sensor-state-data, }: buildPythonPackage rec { pname = "thermobeacon-ble"; version = "0.10.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "thermobeacon-ble"; tag = "v${version}"; hash = "sha256-+WQWb1D1Rw5KE4fvu55WYF2YsQY48MWtPA26G5MB6aY="; }; build-system = [ poetry-core ]; dependencies = [ bluetooth-data-tools bluetooth-sensor-state-data sensor-state-data ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "thermobeacon_ble" ]; meta = with lib; { description = "Library for Thermobeacon BLE devices"; homepage = "https://github.com/bluetooth-devices/thermobeacon-ble"; changelog = "https://github.com/Bluetooth-Devices/thermobeacon-ble/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }