blob: e342f2d8f2fab19f717947317c2b4a7d7ad7b1fc (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
loguru,
numpy,
setuptools,
unasync,
urllib3,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "pyosohotwaterapi";
version = "1.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "osohotwateriot";
repo = "apyosohotwaterapi";
tag = version;
hash = "sha256-hpbmiSOLawKVSh7BGV70bRi45HCDKmdxEEhCOdJuIww=";
};
build-system = [
setuptools
unasync
writableTmpDirAsHomeHook
];
dependencies = [
aiohttp
loguru
numpy
urllib3
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "apyosoenergyapi" ];
meta = {
description = "Module for using the OSO Hotwater API";
homepage = "https://github.com/osohotwateriot/apyosohotwaterapi";
changelog = "https://github.com/osohotwateriot/apyosohotwaterapi/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|