depot/third_party/nixpkgs/pkgs/servers/monitoring/alertmanager-irc-relay/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

29 lines
870 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "alertmanager-irc-relay";
version = "0.4.2";
src = fetchFromGitHub {
owner = "google";
repo = "alertmanager-irc-relay";
rev = "v${version}";
sha256 = "sha256-/gZeIJN7xkDe7f+Q7zh16KG6RC+G/9MIPm3KQManVZ0=";
};
vendorSha256 = "sha256-VLG15IXS/fXFMTCJKEqGW6qZ9aOLPhazidVsOywG+w4=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC";
longDescription = ''
Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC.
Alerts are received from Prometheus using Webhooks and are relayed to an
IRC channel
'';
homepage = "https://github.com/google/alertmanager-irc-relay";
license = licenses.asl20;
maintainers = with maintainers; [ ymatsiuk ];
};
}