Merge pull request #117759 from ymatsiuk/117178

alertmanager-irc-relay: init at 0.3.0
This commit is contained in:
Sandro 2021-04-12 02:10:26 +02:00 committed by GitHub
commit e040eb5c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ 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 ];
};
}

View File

@ -19293,6 +19293,8 @@ in
alertmanager-bot = callPackage ../servers/monitoring/alertmanager-bot { };
alertmanager-irc-relay = callPackage ../servers/monitoring/alertmanager-irc-relay { };
alsa-firmware = callPackage ../os-specific/linux/alsa-firmware { };
alsaLib = callPackage ../os-specific/linux/alsa-lib { };