python3Packages.python-openevse-http: init at 0.2.4 (#494249)

This commit is contained in:
Martin Weinelt 2026-03-01 21:06:07 +00:00 committed by GitHub
commit cc8b4929ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,49 @@
{
lib,
aiohttp,
aioresponses,
awesomeversion,
buildPythonPackage,
fetchFromGitHub,
freezegun,
pytestCheckHook,
pytest-asyncio,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "python-openevse-http";
version = "0.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "firstof9";
repo = "python-openevse-http";
tag = finalAttrs.version;
hash = "sha256-aI1IU9mGThg9tNAqdgKAG5miuVDQozWJoBaoy3cFhwY=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
awesomeversion
];
nativeCheckInputs = [
aioresponses
freezegun
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "openevsehttp" ];
meta = {
description = "Python wrapper for OpenEVSE HTTP API";
homepage = "https://github.com/firstof9/python-openevse-http";
changelog = "https://github.com/firstof9/python-openevse-http/releases/tag/${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
})

View file

@ -4388,8 +4388,9 @@
"openevse" =
ps: with ps; [
ifaddr
python-openevse-http
zeroconf
]; # missing inputs: python-openevse-http
];
"openexchangerates" =
ps: with ps; [
aioopenexchangerates
@ -7802,6 +7803,7 @@
"openai_conversation"
"openalpr_cloud"
"openerz"
"openevse"
"openexchangerates"
"opengarage"
"openhardwaremonitor"

View file

@ -15695,6 +15695,8 @@ self: super: with self; {
python-openems = callPackage ../development/python-modules/python-openems { };
python-openevse-http = callPackage ../development/python-modules/python-openevse-http { };
python-opensky = callPackage ../development/python-modules/python-opensky { };
python-openstackclient = callPackage ../development/python-modules/python-openstackclient { };