python3Packages.apsystems-ez1: init at 1.3.3

This commit is contained in:
Pyrox 2024-07-14 14:49:31 -04:00
parent 4e9a608c11
commit 4b42512dc9
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -701,6 +701,8 @@ self: super: with self; {
apscheduler = callPackage ../development/python-modules/apscheduler { };
apsystems-ez1 = callPackage ../development/python-modules/apsystems-ez1 { };
apsw = callPackage ../development/python-modules/apsw { };
apycula = callPackage ../development/python-modules/apycula { };