python312Packages.aiodukeenergy: init at 0.2.2

This commit is contained in:
Robert Schütz
2024-10-04 15:36:20 -07:00
parent 0ad3a9ef89
commit f5ec6712dd
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
yarl,
}:
buildPythonPackage rec {
pname = "aiodukeenergy";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "hunterjm";
repo = "aiodukeenergy";
rev = "refs/tags/v${version}";
hash = "sha256-aDBleEp3ZlY1IfFCbsUEU+wzYgjNaJeip8crHlh5qHE=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
yarl
];
pythonImportsCheck = [ "aiodukeenergy" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
meta = {
changelog = "https://github.com/hunterjm/aiodukeenergy/blob/${src.rev}/CHANGELOG.md";
description = "Asyncio Duke Energy";
homepage = "https://github.com/hunterjm/aiodukeenergy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -207,6 +207,8 @@ self: super: with self; {
aiodocker = callPackage ../development/python-modules/aiodocker { };
aiodukeenergy = callPackage ../development/python-modules/aiodukeenergy { };
aioeafm = callPackage ../development/python-modules/aioeafm { };
aioeagle = callPackage ../development/python-modules/aioeagle { };