home-assistant: support wolflink component (#372417)

This commit is contained in:
Martin Weinelt
2025-01-09 18:44:13 +01:00
committed by GitHub
3 changed files with 52 additions and 1 deletions
@@ -0,0 +1,47 @@
{
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 ];
};
}
@@ -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
View File
@@ -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 { };