refactor(update-script): Switch from nvfetcher to nix-update
This commit is contained in:
parent
209c803826
commit
f96c71a2d7
5 changed files with 25 additions and 83 deletions
|
|
@ -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
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue