nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 868 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "alertmanager-irc-relay"; 5 version = "0.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "alertmanager-irc-relay"; 10 rev = "v${version}"; 11 sha256 = "sha256-Rl7o2QPa/IU1snlx/LiJxQok9pnkw9XANnJsu41vNlY="; 12 }; 13 14 vendorHash = "sha256-KX+TR0n14+95lldF+0KUo5DbqOKpUDaZNuKMBf0KHFQ="; 15 16 ldflags = [ "-s" "-w" ]; 17 18 meta = with lib; { 19 description = "Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC"; 20 longDescription = '' 21 Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC. 22 Alerts are received from Prometheus using Webhooks and are relayed to an 23 IRC channel 24 ''; 25 homepage = "https://github.com/google/alertmanager-irc-relay"; 26 license = licenses.asl20; 27 maintainers = with maintainers; [ ymatsiuk ]; 28 }; 29}