Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 75 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ lib, aiohttp, aiooui, async-timeout, bleak, buildPythonPackage, dbus-fast, fetchFromGitHub, mac-vendor-lookup, myst-parser, poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, sphinx-rtd-theme, sphinxHook, uart-devices, usb-devices,}:
buildPythonPackage rec { pname = "bluetooth-adapters"; version = "0.21.4"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bluetooth-adapters"; tag = "v${version}"; hash = "sha256-JUh4v9YeqMeecJh/eTpmLMwNsxbc/oqZY2CrEJUO418="; };
outputs = [ "out" "doc" ];
build-system = [ myst-parser poetry-core sphinx-rtd-theme sphinxHook ];
dependencies = [ aiohttp aiooui async-timeout bleak dbus-fast mac-vendor-lookup uart-devices usb-devices ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "bluetooth_adapters" ];
meta = with lib; { description = "Tools to enumerate and find Bluetooth Adapters"; homepage = "https://github.com/Bluetooth-Devices/bluetooth-adapters"; changelog = "https://github.com/bluetooth-devices/bluetooth-adapters/blob/${src.tag}/CHANGELOG.md"; license = licenses.asl20; teams = [ teams.home-assistant ]; };}