fix avahi

This commit is contained in:
mjallen18
2026-03-31 13:33:42 -05:00
parent 6ca55504f0
commit bd799661b9
59 changed files with 3758 additions and 3829 deletions

View File

@@ -1,15 +1,25 @@
{ fetchFromGitHub, home-assistant, ... }:
home-assistant.python.pkgs.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
home-assistant,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.wyzeapy;
in
home-assistant.python.pkgs.buildPythonPackage {
pname = "wyzeapy";
version = "0.5.31";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "pyproject";
src = fetchFromGitHub {
owner = "SecKatie";
repo = "wyzeapy";
rev = "v${version}";
sha256 = "sha256-KDCd1G5Tj0YWM2WA3DJK9rTf1rMzz4qBSUl8FOUbvdM=";
};
src = sources.wyzeapy;
build-system = with home-assistant.python.pkgs; [
poetry-core

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.5.31"
},
"sources": {
"wyzeapy": {
"fetcher": "github",
"owner": "SecKatie",
"repo": "wyzeapy",
"tag": "v0.5.31",
"hash": "sha256-KDCd1G5Tj0YWM2WA3DJK9rTf1rMzz4qBSUl8FOUbvdM="
}
}
}