blob: a8f42433894abb65b53ac284a46e72f3435d3b0c (
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.23";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "wefabricate";
repo = "wh-python";
rev = "refs/tags/${version}";
hash = "sha256-egxc4gJaFIjbdvDVmenN61Rsg1NmlJSqxdG/7con9mU=";
};
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 ];
};
}
|