Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, async-interrupt, bleak-retry-connector, bleak, bluetooth-adapters, bluetooth-auto-recovery, bluetooth-data-tools, buildPythonPackage, cython, fetchFromGitHub, freezegun, poetry-core, pytest-asyncio, pytest-codspeed, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "habluetooth"; version = "3.49.0"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "habluetooth"; tag = "v${version}"; hash = "sha256-+jv6345Qfay66hl4KBy93B3AMg4lwN/DtjohuFvh9+M="; };
build-system = [ cython poetry-core setuptools ];
dependencies = [ async-interrupt bleak bleak-retry-connector bluetooth-adapters bluetooth-auto-recovery bluetooth-data-tools ];
nativeCheckInputs = [ freezegun pytest-asyncio pytest-codspeed pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "habluetooth" ];
meta = with lib; { description = "Library for high availability Bluetooth"; homepage = "https://github.com/Bluetooth-Devices/habluetooth"; changelog = "https://github.com/Bluetooth-Devices/habluetooth/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}