blob: 5fc267fe2e2192996c2bfcc54b0b7308a5274331 (
plain) (
blame)
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,
poetry-core,
bleak,
construct,
construct-typing,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "eq3btsmart";
version = "1.1.9";
pyproject = true;
src = fetchFromGitHub {
owner = "EuleMitKeule";
repo = "eq3btsmart";
rev = "refs/tags/${version}";
hash = "sha256-7kJqPygX2Oc7fz31qZWrS1ZA+kANZr8vxOwarUzgp/M=";
};
build-system = [ poetry-core ];
dependencies = [
bleak
construct
construct-typing
];
pythonImportsCheck = [ "eq3btsmart" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/EuleMitKeule/eq3btsmart/releases/tag/${version}";
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 ];
};
}
|