Unverified Commit a52afa73 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.hyponcloud: init at 0.9.0 (#502299)

parents a332c4dd b04e5f48
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  mashumaro,
  pytest-asyncio,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage (finalAttrs: {
  pname = "hyponcloud";
  version = "0.9.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jcisio";
    repo = "hyponcloud";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ZFolkhyXauUS+6rbCjSp+5Oxfp3Y7oh8fjXHwDi+zKA=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    aiohttp
    mashumaro
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "hyponcloud" ];

  meta = {
    description = "Python library for Hypontech Cloud API for solar inverter monitoring";
    homepage = "https://github.com/jcisio/hyponcloud";
    changelog = "https://github.com/jcisio/hyponcloud/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -2665,7 +2665,8 @@
      ];
    "hypontech" =
      ps: with ps; [
      ]; # missing inputs: hyponcloud
        hyponcloud
      ];
    "ialarm" =
      ps: with ps; [
        pyialarm
@@ -7637,6 +7638,7 @@
    "hvv_departures"
    "hydrawise"
    "hyperion"
    "hypontech"
    "ialarm"
    "iaqualink"
    "ibeacon"
+4 −0
Original line number Diff line number Diff line
@@ -168,6 +168,10 @@ let
  };

  extraDisabledTestPaths = {
    hypontech = [
      # outdated snapshot
      "tests/components/hypontech/test_sensor.py::test_sensors"
    ];
    jellyfin = [
      # AssertionError: assert 'audio/x-flac' == 'audio/flac'
      "tests/components/jellyfin/test_media_source.py::test_resolve"
+2 −0
Original line number Diff line number Diff line
@@ -7292,6 +7292,8 @@ self: super: with self; {
  hyperscan = callPackage ../development/python-modules/hyperscan { };
  hyponcloud = callPackage ../development/python-modules/hyponcloud { };
  hypothesis = callPackage ../development/python-modules/hypothesis { };
  hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { };