1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "python-juicenet";
11 version = "1.1.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "jesserockz";
18 repo = "python-juicenet";
19 rev = "v${version}";
20 hash = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU=";
21 };
22
23 propagatedBuildInputs = [ aiohttp ];
24
25 # no tests implemented
26 doCheck = false;
27
28 pythonImportsCheck = [ "pyjuicenet" ];
29
30 meta = with lib; {
31 description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";
32 homepage = "https://github.com/jesserockz/python-juicenet";
33 license = licenses.mit;
34 maintainers = with maintainers; [ dotlambda ];
35 };
36}