go-away: add passthru.updateScript

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss
2025-11-06 20:25:08 +01:00
parent 834bfc4043
commit e9c3642c32
+7
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitea,
nix-update-script,
# asset compression
brotli,
@@ -57,6 +58,12 @@ buildGoModule (finalAttrs: {
cp -rv examples/snippets $out/lib/go-away/
'';
passthru.updateScript = nix-update-script {
# the main repository does not have the releases feed enabled, so use the
# codeberg mirror
url = "https://codeberg.org/gone/go-away";
};
meta = {
changelog = "https://git.gammaspectra.live/git/go-away/releases/tag/${finalAttrs.src.tag}";
description = "Self-hosted abuse detection and rule enforcement against low-effort mass AI scraping and bots";