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,29 +1,36 @@
{
lib,
namespace,
pkgs,
buildHomeAssistantComponent,
fetchFromGitHub,
home-assistant,
...
}:
buildHomeAssistantComponent rec {
owner = "LaggAt";
domain = "govee";
version = "2025.7.1";
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
src = fetchFromGitHub {
owner = owner;
repo = "hacs-govee";
rev = version;
hash = "sha256-3SnYjjQU2qRBcKs40bCpN75Ad3HqMcn/hRj1faSSeHw=";
};
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.govee;
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
in
buildHomeAssistantComponent {
owner = src-meta.owner;
domain = "govee";
inherit version;
src = sources.govee;
nativeBuildInputs = with home-assistant.python.pkgs; [
dacite
];
meta = {
changelog = "https://github.com/${owner}/hacs-govee/releases/tag/${version}";
changelog = "https://github.com/${src-meta.owner}/hacs-govee/releases/tag/${version}";
description = "The Govee integration allows you to control and monitor lights and switches using the Govee API.";
homepage = "https://github.com/${owner}/hacs-govee";
homepage = "https://github.com/${src-meta.owner}/hacs-govee";
maintainers = [ ];
};
}