{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "cs-firewall-bouncer"; version = "0.0.28"; src = fetchFromGitHub { owner = "crowdsecurity"; repo = pname; rev = "v${version}"; hash = "sha256-Y1pCupCtYkOD6vKpcmM8nPlsGbO0kYhc3PC9YjJHeMw="; }; vendorHash = "sha256-BA7OHvqIRck3LVgtx7z8qhgueaJ6DOMU8clvWKUCdqE="; meta = with lib; { homepage = "https://crowdsec.net/"; changelog = "https://github.com/crowdsecurity/${pname}/releases/tag/v${version}"; description = "Crowdsec bouncer for firewalls."; longDescription = '' crowdsec-firewall-bouncer will fetch new and old decisions from a CrowdSec API to add them in a blocklist used by supported firewalls. ''; license = licenses.mit; }; }