refactor(update-script): Switch from nvfetcher to updateScript

This commit is contained in:
Tristan Daniël Maat 2025-08-17 23:43:06 +08:00
parent 209c803826
commit 5aefaf67fe
Signed by: tlater
GPG key ID: 49670FD774E43268
5 changed files with 23 additions and 81 deletions

View file

@ -1,6 +1,6 @@
{
lib,
sources,
fetchFromGitHub,
buildGoModule,
envsubst,
coreutils,
@ -9,7 +9,15 @@ let
envsubstBin = lib.getExe envsubst;
in
buildGoModule {
inherit (sources.crowdsec-firewall-bouncer) pname version src;
pname = "crowdsec-firewall-bouncer";
version = "v0.0.34";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "cs-firewall-bouncer";
rev = "v0.0.34";
hash = "sha256-lDO9pwPkbI+FDTdXBv03c0p8wbkRUiIDNl1ip3AZo2g=";
};
vendorHash = "sha256-SbpclloBgd9vffC0lBduGRqPOqmzQ0J91/KeDHCh0jo=";