Commit 7d9840b4 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.python-openevse-http: init at 0.2.4

parent 322dc9ab
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -15654,6 +15654,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 { };