daed: add update script

This commit is contained in:
aucub
2025-01-16 03:02:06 +08:00
parent 229bce01dd
commit d18c82bc1c
+17 -1
View File
@@ -6,6 +6,8 @@
buildGoModule,
fetchFromGitHub,
lib,
_experimental-update-script-combinators,
nix-update-script,
}:
let
@@ -47,7 +49,12 @@ let
};
in
buildGoModule rec {
inherit pname version src;
inherit
pname
version
src
web
;
sourceRoot = "${src.name}/wing";
vendorHash = "sha256-TBR3MmpTdwIwyekU+nrHhzsN31E30+Rqd3FoBL3dl4U=";
@@ -81,6 +88,15 @@ buildGoModule rec {
runHook postBuild
'';
passthru.updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script {
attrPath = "daed.web";
})
(nix-update-script {
extraArgs = [ "--version=skip" ];
})
];
meta = {
description = "Modern dashboard with dae";
homepage = "https://github.com/daeuniverse/daed";