python313Packages.imeon-inverter-api: init at 0.3.12

This commit is contained in:
Robert Schütz
2025-05-06 05:44:52 -07:00
committed by Martin Weinelt
parent 061ce1c04b
commit ba4bfd7dbe
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pdm-pep517,
aiohttp,
async-timeout,
}:
buildPythonPackage rec {
pname = "imeon-inverter-api";
version = "0.3.12";
pyproject = true;
src = fetchFromGitHub {
owner = "Imeon-Inverters-for-Home-Assistant";
repo = "inverter-api";
tag = version;
hash = "sha256-creGva8ZC20yfgjO4XhvXerGuhVnXbshUvoexxjSHFU=";
};
build-system = [ pdm-pep517 ];
dependencies = [
aiohttp
async-timeout
];
pythonImportsCheck = [ "imeon_inverter_api" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/Imeon-Inverters-for-Home-Assistant/inverter-api/releases/tag/${src.tag}";
description = "Standalone API to collect data from the Imeon Energy Inverters that uses HTTP POST/GET";
homepage = "https://github.com/Imeon-Inverters-for-Home-Assistant/inverter-api";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@@ -6652,6 +6652,8 @@ self: super: with self; {
imbalanced-learn = callPackage ../development/python-modules/imbalanced-learn { };
imeon-inverter-api = callPackage ../development/python-modules/imeon-inverter-api { };
img2pdf = callPackage ../development/python-modules/img2pdf { };
imgcat = callPackage ../development/python-modules/imgcat { };