Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alertmanager-irc-relay: init at 0.3.0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Signed-off-by: Yurii Matsiuk <ymatsiuk@users.noreply.github.com>
- Loading branch information
1 parent
cadb3d9
commit 1559745
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
pkgs/servers/monitoring/alertmanager-irc-relay/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters