python3Packages.victron-vrm: init at 0.1.8

This commit is contained in:
Robert Schütz
2025-10-24 21:43:41 -07:00
parent 97c18ba6d6
commit 8d05f6fe3a
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pydantic,
pytest-asyncio,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "victron-vrm";
version = "0.1.8";
pyproject = true;
src = fetchFromGitHub {
owner = "KSoft-Si";
repo = "vrm-client";
tag = "v${version}";
hash = "sha256-NxkMUwiFD8C7Nrtd7cjoFvdkbAOJkIIt+TPtkous8Nc=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pydantic
pytz
];
pythonImportsCheck = [ "victron_vrm" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
# tests connect to vrmapi.victronenergy.com
doCheck = false;
meta = {
changelog = "https://github.com/KSoft-Si/vrm-client/releases/tag/${src.tag}";
description = "Async Python client for the Victron Energy VRM API";
homepage = "https://github.com/KSoft-Si/vrm-client";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -19799,6 +19799,8 @@ self: super: with self; {
vharfbuzz = callPackage ../development/python-modules/vharfbuzz { };
victron-vrm = callPackage ../development/python-modules/victron-vrm { };
videocr = callPackage ../development/python-modules/videocr { };
vidstab = callPackage ../development/python-modules/vidstab { };