14 buildPythonPackage rec {
19 disabled = pythonOlder "3.9";
21 src = fetchFromGitHub {
22 owner = "Bluetooth-Devices";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-4z6SJE/VFNa81ecDal2IEX9adYBrSzco9VfhUPKBj4k=";
29 substituteInPlace pyproject.toml \
30 --replace " --cov=led_ble --cov-report=term-missing:skip-covered" ""
33 nativeBuildInputs = [ poetry-core ];
35 propagatedBuildInputs = [
39 ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
41 nativeCheckInputs = [ pytestCheckHook ];
43 pythonImportsCheck = [ "led_ble" ];
46 description = "Library for LED BLE devices";
47 homepage = "https://github.com/Bluetooth-Devices/led-ble";
48 changelog = "https://github.com/Bluetooth-Devices/led-ble/blob/v${version}/CHANGELOG.md";
49 license = with licenses; [ mit ];
50 maintainers = with maintainers; [ fab ];