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 +1,13 @@
{ sources }: sources.crowdsec-hub.src
{ fetchFromGitHub, runCommand }:
runCommand "crowdsec-hub"
{
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "hub";
rev = "fc59f78180f3edfce76df3e77b001c454f567d3d";
hash = "sha256-Ejx3ta05SMvV/Dj7wy2iF9QYbGoRvxPB3+QuCIoTX4Q=";
};
}
''
cp -r $src $out
''