nixpkgs-suyu/pkgs/servers/monitoring/consul-alerts/default.nix
2021-01-25 18:31:47 +01:00

27 lines
737 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "consul-alerts";
version = "0.6.0";
rev = "v${version}";
goPackagePath = "github.com/AcalephStorage/consul-alerts";
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit rev;
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
};
meta = with lib; {
description = "An extendable open source continuous integration server";
homepage = "https://github.com/AcalephStorage/consul-alerts";
# As per README
platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
license = licenses.gpl2;
maintainers = with maintainers; [ nh2 ];
};
}