1a0302a145
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
29 lines
885 B
Nix
29 lines
885 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "alertmanager-irc-relay";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "alertmanager-irc-relay";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-SmyKk0vSXfHzRxOdbULD2Emju/VjDcXZZ7cgVbZxGIA=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-aJVA9MJ9DK/dCo7aSB9OLfgKGN5L6Sw2k2aOR4J2LE4=";
|
|
|
|
buildFlagsArray = [ "-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 ];
|
|
};
|
|
}
|