1{
2 lib,
3 aenum,
4 aiohttp-retry,
5 aiohttp,
6 buildPythonPackage,
7 fetchFromGitHub,
8 pydantic,
9 python-dateutil,
10 setuptools,
11 urllib3,
12}:
13
14buildPythonPackage rec {
15 pname = "weheat";
16 version = "2025.4.29";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "wefabricate";
21 repo = "wh-python";
22 tag = version;
23 hash = "sha256-z+tRxx+wtEj5cBXBVG1B5SNyvkQk2UwjH7lPgNQQ+ng=";
24 };
25
26 pythonRelaxDeps = [
27 "urllib3"
28 ];
29
30 build-system = [ setuptools ];
31
32 dependencies = [
33 aenum
34 aiohttp
35 aiohttp-retry
36 pydantic
37 python-dateutil
38 urllib3
39 ];
40
41 # Module has no tests
42 doCheck = false;
43
44 pythonImportsCheck = [ "weheat" ];
45
46 meta = {
47 description = "Library to interact with the weheat API";
48 homepage = "https://github.com/wefabricate/wh-python";
49 license = lib.licenses.mit;
50 maintainers = with lib.maintainers; [ fab ];
51 };
52}