blob: 00bdac870ffa12dc918a5cc5823ad2d2b5692996 (
plain) (
blame)
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
|
{
lib,
aenum,
buildPythonPackage,
fetchFromGitHub,
pydantic,
python-dateutil,
pythonOlder,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "weheat";
version = "2024.09.10";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "wefabricate";
repo = "wh-python";
rev = "refs/tags/${version}";
hash = "sha256-D9m9IR5RTRphIgDX25izkbAHeLml9AYL6xdH46ryqaI=";
};
pythonRelaxDeps = [
"urllib3"
"pydantic"
];
build-system = [ setuptools ];
dependencies = [
aenum
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";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|