blob: 3a464212b2fbb3ecc7a025aafe93018d9a6ac721 (
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,
buildPythonPackage,
fetchFromGitHub,
setuptools,
bleak,
bleak-retry-connector,
construct-typing,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "eq3btsmart";
version = "2.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "EuleMitKeule";
repo = "eq3btsmart";
tag = version;
hash = "sha256-jIQWh7z2bDwWXfirtIThVYUDvgaEMLoMumR4u3rnZ/0=";
};
build-system = [ setuptools ];
dependencies = [
bleak
bleak-retry-connector
construct-typing
];
pythonImportsCheck = [ "eq3btsmart" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/EuleMitKeule/eq3btsmart/releases/tag/${src.tag}";
description = "Python library that allows interaction with eQ-3 Bluetooth smart thermostats";
homepage = "https://github.com/EuleMitKeule/eq3btsmart";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|