python313Packages.nrgkick-api: init at 1.3.1 (#476060)

This commit is contained in:
Fabian Affolter
2026-01-02 15:43:57 +00:00
committed by GitHub
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
aiohttp,
aresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "nrgkick-api";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "andijakl";
repo = "nrgkick-api";
tag = "v${version}";
hash = "sha256-aVYDyLeMkyagPogP337bO88iwtt/BNS2nEzFv0l4TSA=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "nrgkick_api" ];
meta = {
description = "Python client for NRGkick Gen2 EV charger local REST API";
homepage = "https://github.com/andijakl/nrgkick-api";
changelog = "https://github.com/andijakl/nrgkick-api/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -10968,6 +10968,8 @@ self: super: with self; {
npyscreen = callPackage ../development/python-modules/npyscreen { };
nrgkick-api = callPackage ../development/python-modules/nrgkick-api { };
nsapi = callPackage ../development/python-modules/nsapi { };
nskeyedunarchiver = callPackage ../development/python-modules/nskeyedunarchiver { };