1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "alertmanager-irc-relay";
7 src = fetchFromGitHub {
9 repo = "alertmanager-irc-relay";
11 sha256 = "sha256-Rl7o2QPa/IU1snlx/LiJxQok9pnkw9XANnJsu41vNlY=";
14 vendorHash = "sha256-KX+TR0n14+95lldF+0KUo5DbqOKpUDaZNuKMBf0KHFQ=";
16 ldflags = [ "-s" "-w" ];
19 description = "Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC";
20 mainProgram = "alertmanager-irc-relay";
22 Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC.
23 Alerts are received from Prometheus using Webhooks and are relayed to an
26 homepage = "https://github.com/google/alertmanager-irc-relay";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ ymatsiuk ];