blob: a39546a1e38e50c2cb411d23a574aa95f0422d96 (
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
|
{
lib,
bluetooth-sensor-state-data,
buildPythonPackage,
fetchFromGitHub,
home-assistant-bluetooth,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
sensor-state-data,
}:
buildPythonPackage rec {
pname = "moat-ble";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "moat-ble";
tag = "v${version}";
hash = "sha256-dy1Fm0Z1PUsPY8QTiXUcWSi+csFnTUsobSkA92m06QI=";
};
build-system = [ poetry-core ];
dependencies = [
bluetooth-sensor-state-data
home-assistant-bluetooth
sensor-state-data
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "moat_ble" ];
meta = {
description = "Library for Moat BLE devices";
homepage = "https://github.com/Bluetooth-Devices/moat-ble";
changelog = "https://github.com/Bluetooth-Devices/moat-ble/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|