blob: 00eb71e3d7daf763eec72fdcaf05e8f3759b5fe8 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitLab
, future
, pyserial
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "aurorapy";
version = "0.2.7";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "energievalsabbia";
repo = pname;
rev = version;
hash = "sha256-rGwfGq3zdoG9NCGqVN29Q4bWApk5B6CRdsW9ctWgOec=";
};
propagatedBuildInputs = [
future
pyserial
];
checkInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [
"aurorapy"
];
meta = with lib; {
description = "Implementation of the communication protocol for Power-One Aurora inverters";
homepage = "https://gitlab.com/energievalsabbia/aurorapy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|