1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{
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.221";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "bumble";
tag = "v${version}";
hash = "sha256-GCcvbYLHChvrsQuhFjeYnncjrzFqOlmL+LlG7t2iAkE=";
};
build-system = [
setuptools
setuptools-scm
];
pythonRelaxDeps = [
"libusb-package"
];
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 ];
};
}
|