blob: efe5f948b83a2096071d64c11468a5428623d298 (
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
|
{
lib,
aenum,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "wallbox";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cliviu74";
repo = "wallbox";
tag = version;
hash = "sha256-1/hm0x71YTW3cA11Nw/e4xUol5T9lElgm1bKi1wRi3o=";
};
build-system = [
setuptools
];
dependencies = [
aenum
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "wallbox" ];
meta = {
description = "Module for interacting with Wallbox EV charger API";
homepage = "https://github.com/cliviu74/wallbox";
changelog = "https://github.com/cliviu74/wallbox/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|