blob: 50147c47e7480dfe9f4dc3e61599483e7d1396d2 (
plain)
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
|
{
bluetooth-data-tools,
buildPythonPackage,
cython,
fetchFromGitHub,
habluetooth,
lib,
poetry-core,
pysmlight,
pytest-asyncio,
pytest-codspeed,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "bleak-smlight";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bluetooth-devices";
repo = "bleak-smlight";
tag = "v${finalAttrs.version}";
hash = "sha256-U98TZup4JV4D+g3YuVXyoUWTUjspGRymUiMasrT7ang=";
};
build-system = [
cython
poetry-core
setuptools
];
dependencies = [
bluetooth-data-tools
habluetooth
pysmlight
];
pythonImportsCheck = [ "bleak_smlight" ];
nativeCheckInputs = [
pytest-asyncio
pytest-codspeed
pytest-cov-stub
pytestCheckHook
];
meta = {
changelog = "https://github.com/bluetooth-devices/bleak-smlight/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Bleak backend for SMLIGHT SLZB Bluetooth proxies";
homepage = "https://github.com/bluetooth-devices/bleak-smlight";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
})
|