tlaternet-server/pkgs/crowdsec/hub.nix

13 lines
307 B
Nix

{ fetchFromGitHub, runCommand }:
runCommand "crowdsec-hub"
{
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "hub";
rev = "fc59f78180f3edfce76df3e77b001c454f567d3d";
hash = "sha256-Ejx3ta05SMvV/Dj7wy2iF9QYbGoRvxPB3+QuCIoTX4Q=";
};
}
''
cp -r $src $out
''