gowebly: update to 3.1.0 & fix runtime dependencies (#506660)

This commit is contained in:
Peder Bergebakken Sundt
2026-04-04 21:14:31 +00:00
committed by GitHub
+24 -3
View File
@@ -4,20 +4,25 @@
fetchFromGitHub,
versionCheckHook,
nix-update-script,
makeWrapper,
air,
nodejs,
bun,
templ,
}:
buildGoModule rec {
pname = "gowebly";
version = "3.0.5";
version = "3.1.0";
src = fetchFromGitHub {
owner = "gowebly";
repo = "gowebly";
tag = "v${version}";
hash = "sha256-r1yyMbnpt0sDgqkm/EqaYysQnm48uIXzQHqJObVpT9g=";
hash = "sha256-/MB8YuqeZUb9P6RPO2sgwtYShaNkEFckiVBtnHRPkc4=";
};
vendorHash = "sha256-N48/67fMPsylNGr6ixay4si+9ifUryxkIJxKDYU46+o=";
vendorHash = "sha256-8i1o0Dn4xJ1P3CrYDW0X8epiIpjmIac6gENBYi/bmQo=";
env.CGO_ENABLED = 0;
@@ -26,6 +31,22 @@ buildGoModule rec {
"-w"
];
nativeBuildInputs = [
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/gowebly \
--prefix PATH : ${
lib.makeBinPath [
air
templ
bun
nodejs
]
}
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "doctor";
doInstallCheck = true;