blob: cbd16f190162125bfa35a601a9a622d5b2535956 (
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
|
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyairobotrest";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mettolen";
repo = "pyairobotrest";
tag = "v${version}";
hash = "sha256-a0xsmknDe96cOBewhwVLy2Tw5sYffh8lZR4e+q6uGz4=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "pyairobotrest" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/mettolen/pyairobotrest/blob/${src.tag}/CHANGELOG.md";
description = "Python library for controlling Airobot TE1 thermostats via local REST API";
homepage = "https://github.com/mettolen/pyairobotrest";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
|