Something went wrong. Try again.
lol
Something went wrong. Try again.
1.6 kB · 94 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495{ aiohttp, appdirs, buildPythonPackage, click, cryptography, fetchFromGitHub, grpcio, humanize, lib, libusb-package, libusb1, platformdirs, prettytable, prompt-toolkit, protobuf, pyee, pyserial, pyserial-asyncio, pytest-asyncio, pytestCheckHook, pyusb, setuptools, setuptools-scm, tomli, websockets,}:
buildPythonPackage rec { pname = "bumble"; version = "0.0.227"; pyproject = true;
src = fetchFromGitHub { owner = "google"; repo = "bumble"; tag = "v${version}"; hash = "sha256-qB1dVKDy061NqAzv+QoFeG1BU9sRYfb5ntcXQd909rM="; };
build-system = [ setuptools setuptools-scm ];
pythonRelaxDeps = [ "libusb-package" "tomli" ];
dependencies = [ aiohttp appdirs click cryptography grpcio humanize libusb-package libusb1 platformdirs prettytable prompt-toolkit protobuf pyee pyserial pyserial-asyncio pyusb tomli websockets ];
pythonImportsCheck = [ "bumble" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pytestFlags = [ "--asyncio-mode=auto" ];
disabledTests = [ # tests require networking "test_android_netsim_connection" "test_open_transport_with_metadata" ];
meta = { changelog = "https://github.com/google/bumble/releases/tag/${src.tag}"; description = "Bluetooth Stack for Apps, Emulation, Test and Experimentation"; homepage = "https://github.com/google/bumble"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.dotlambda ]; };}