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

home-assistant: support wolflink component (#372417)

parents ce389941 cd58ef1c
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  httpx,
  lib,
  lxml,
  pkce,
  setuptools,
  shortuuid,
}:

buildPythonPackage rec {
  pname = "wolf-comm";
  version = "0.0.19";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "janrothkegel";
    repo = "wolf-comm";
    tag = version;
    hash = "sha256-majkiDGyR6qHMi6VmlopWAJK7rXPPR5TeAw6gPjiCw8=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    httpx
    lxml
    pkce
    shortuuid
  ];

  pythonImportsCheck = [ "wolf_comm" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/janrothkegel/wolf-comm/releases/tag/${src.tag}";
    description = "Communicate with Wolf SmartSet Cloud";
    homepage = "https://github.com/janrothkegel/wolf-comm";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -6232,7 +6232,8 @@
      ]; # missing inputs: pywmspro
    "wolflink" =
      ps: with ps; [
      ]; # missing inputs: wolf-comm
        wolf-comm
      ];
    "workday" =
      ps: with ps; [
        holidays
@@ -7371,6 +7372,7 @@
    "withings"
    "wiz"
    "wled"
    "wolflink"
    "workday"
    "worldclock"
    "ws66i"
+2 −0
Original line number Diff line number Diff line
@@ -18100,6 +18100,8 @@ self: super: with self; {
  wn = callPackage ../development/python-modules/wn { };
  wolf-comm = callPackage ../development/python-modules/wolf-comm { };
  woob = callPackage ../development/python-modules/woob { };
  woodblock = callPackage ../development/python-modules/woodblock { };