blob: 574634b810b3aa105f557f8122b2fb61d1c2ed2b (
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
52
53
|
{
lib,
aiohttp,
attrs,
backoff,
boto3,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyhumps,
pytest-asyncio,
pytestCheckHook,
warrant-lite,
}:
buildPythonPackage (finalAttrs: {
pname = "pyoverkiz";
version = "1.19.4";
pyproject = true;
src = fetchFromGitHub {
owner = "iMicknl";
repo = "python-overkiz-api";
tag = "v${finalAttrs.version}";
hash = "sha256-8MU+FH6fpQREpJ0x4OXh4BIlBtWEW+fL+oQCipTk4zg=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
attrs
backoff
boto3
pyhumps
warrant-lite
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pyoverkiz" ];
meta = {
description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs";
homepage = "https://github.com/iMicknl/python-overkiz-api";
changelog = "https://github.com/iMicknl/python-overkiz-api/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|