hacompanion: add nix-update-script as updateScript

This commit is contained in:
Casey Link 2025-06-05 10:43:35 +02:00
parent ec62ae342c
commit cf7c972fc1

View File

@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
}:
buildGoModule rec {
@ -17,6 +18,8 @@ buildGoModule rec {
vendorHash = "sha256-y2eSuMCDZTGdCs70zYdA8NKbuPPN5xmnRfMNK+AE/q8=";
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/tobias-kuendig/hacompanion/releases/tag/v${version}";
description = "Daemon that sends local hardware information to Home Assistant";