Commit f5ec6712 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.aiodukeenergy: init at 0.2.2

parent 0ad3a9ef
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };