blob: abf75f3bb427001587d077e1273618285b14dee9 (
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
|
{
anyio,
asyncclick,
bleak,
bleak-retry-connector,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
uv-dynamic-versioning,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "togrill-bluetooth";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "elupus";
repo = "togrill-bluetooth";
tag = version;
hash = "sha256-aBuWy8tG722yLzUS62yGdXcETGuH+dX9XVi/qMwEiVg=";
};
build-system = [
hatchling
uv-dynamic-versioning
];
dependencies = [
bleak
bleak-retry-connector
];
optional-dependencies = {
cli = [
anyio
asyncclick
];
};
pythonImportsCheck = [ "togrill_bluetooth" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/elupus/togrill-bluetooth/releases/tag/${src.tag}";
description = "Module to handle communication with ToGrill compatible temperature probes";
homepage = "https://github.com/elupus/togrill-bluetooth";
license = lib.licenses.mit;
mainProgram = "togrill-bluetooth";
maintainers = [ lib.maintainers.dotlambda ];
};
}
|