python3Packages.indevolt-api: init at 1.2.2 (#502330)

This commit is contained in:
Martin Weinelt
2026-03-23 14:12:25 +00:00
committed by GitHub
3 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage (finalAttrs: {
pname = "indevolt-api";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Xirt";
repo = "indevolt-api";
tag = "v${finalAttrs.version}";
hash = "sha256-IDX7GgEDLryKTVIQM52hApI5Il+V7ay9usmL5FPc6vc=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# no tests in upstream repository
doCheck = false;
pythonImportsCheck = [ "indevolt_api" ];
meta = {
description = "Python API client for Indevolt devices";
homepage = "https://github.com/Xirt/indevolt-api";
changelog = "https://github.com/Xirt/indevolt-api/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})

View File

@@ -2826,7 +2826,8 @@
];
"indevolt" =
ps: with ps; [
]; # missing inputs: indevolt-api
indevolt-api
];
"indianamichiganpower" =
ps: with ps; [
];
@@ -7642,6 +7643,7 @@
"immich"
"improv_ble"
"incomfort"
"indevolt"
"inels"
"influxdb"
"inkbird"

View File

@@ -7475,6 +7475,8 @@ self: super: with self; {
incremental = callPackage ../development/python-modules/incremental { };
indevolt-api = callPackage ../development/python-modules/indevolt-api { };
indexed-bzip2 = callPackage ../development/python-modules/indexed-bzip2 { };
indexed-gzip = callPackage ../development/python-modules/indexed-gzip { inherit (pkgs) zlib; };