Merge pull request #245810 from aaronjheng/alertmanager-bot
alertmanager-bot: remove
This commit is contained in:
commit
06e95daf89
3 changed files with 1 additions and 37 deletions
|
@ -1,35 +0,0 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "alertmanager-bot";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "metalmatze";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1hjfkksqb675gabzjc221b33h2m4s6qsanmkm382d3fyzqj71dh9";
|
||||
};
|
||||
|
||||
vendorSha256 = null; #vendorSha256 = "";
|
||||
|
||||
postPatch = ''
|
||||
sed "s;/templates/default.tmpl;$out/share&;" -i cmd/alertmanager-bot/main.go
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w" "-X main.Version=v${version}" "-X main.Revision=${src.rev}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 -t $out/share/templates $src/default.tmpl
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bot for Prometheus' Alertmanager";
|
||||
homepage = "https://github.com/metalmatze/alertmanager-bot";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mmahut ];
|
||||
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.goModules --check
|
||||
};
|
||||
}
|
|
@ -68,6 +68,7 @@ mapAliases ({
|
|||
aircrackng = throw "'aircrackng' has been renamed to/replaced by 'aircrack-ng'"; # Converted to throw 2022-02-22
|
||||
airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
|
||||
airtame = throw "airtame has been removed due to being unmaintained"; # Added 2022-01-19
|
||||
alertmanager-bot = throw "alertmanager-bot is broken and has been archived by upstream" ; # Added 2023-07-28
|
||||
aleth = throw "aleth (previously packaged as cpp_ethereum) has been removed; abandoned upstream"; # Added 2020-11-30
|
||||
aliza = throw "aliza has been removed, because it depended on qt4 and was unmaintained in nixpkgs"; # Added 2022-05-12
|
||||
alsaLib = alsa-lib; # Added 2021-06-09
|
||||
|
|
|
@ -27772,8 +27772,6 @@ with pkgs;
|
|||
|
||||
alfred = callPackage ../os-specific/linux/batman-adv/alfred.nix { };
|
||||
|
||||
alertmanager-bot = callPackage ../servers/monitoring/alertmanager-bot { };
|
||||
|
||||
alertmanager-irc-relay = callPackage ../servers/monitoring/alertmanager-irc-relay { };
|
||||
|
||||
tinyalsa = callPackage ../os-specific/linux/tinyalsa { };
|
||||
|
|
Loading…
Reference in a new issue