blob: d5005a1d1ca33f6acafa3a2ff9d9c4c899b770c6 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
aiohttp,
poetry-core,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "apsystems-ez1";
version = "1.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "SonnenladenGmbH";
repo = "APsystems-EZ1-API";
rev = "refs/tags/${version}";
hash = "sha256-V6GcTSupjhjGEOsO+C9pImYJRnvdDbttW3Zh0PDYt5I=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "APsystemsEZ1" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
meta = {
changelog = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API/releases/tag/${version}";
description = "Streamlined interface for interacting with the local API of APsystems EZ1 Microinverters.";
homepage = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}
|