Unverified Commit cc8b4929 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents 3ce17643 e12866f8
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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 { };