mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
26 lines
780 B
Nix
26 lines
780 B
Nix
{ lib, buildGoModule, fetchFromGitHub, playerctl }:
|
|
buildGoModule rec {
|
|
pname = "crowdsec-firewall-bouncer";
|
|
version = "0.0.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crowdsecurity";
|
|
repo = "cs-firewall-bouncer";
|
|
rev = "v${version}";
|
|
hash = "sha256-zrYs/9hH+sGG1RMFWMeTm1yIDPElGBr7rVGeWR3ff34=";
|
|
};
|
|
|
|
patches = [ ./0001-remove-natend-go-mod-for-nix-builds.patch ];
|
|
|
|
vendorSha256 = "sha256-7wIdwTv4jMpFQkl3tKeH3MWxJ/EbiFg5FtGSAvNNpos=";
|
|
|
|
meta = with lib; {
|
|
description = "Crowdsec bouncer written in golang for firewalls";
|
|
homepage = "https://github.com/crowdsecurity/cs-firewall-bouncer";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ therealr5 ];
|
|
mainProgram = "cs-firewall-bouncer";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|