blob: f19c54c606208002e60c203a0cce5962349a9448 (
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
|
{
lib,
aenum,
aiohttp-retry,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pydantic,
python-dateutil,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "weheat";
version = "2025.12.24";
pyproject = true;
src = fetchFromGitHub {
owner = "wefabricate";
repo = "wh-python";
tag = version;
hash = "sha256-aO4mU+7lfb4eQwK8ijtJwDBIhzxg+V5veWNwNsnxKu4=";
};
build-system = [ setuptools ];
dependencies = [
aenum
aiohttp
aiohttp-retry
pydantic
python-dateutil
urllib3
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "weheat" ];
meta = {
description = "Library to interact with the weheat API";
homepage = "https://github.com/wefabricate/wh-python";
changelog = "https://github.com/wefabricate/wh-python/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|