nixpkgs-suyu/pkgs/servers/monitoring/consul-alerts/default.nix

28 lines
745 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-07 22:32:34 +02:00
buildGoPackage rec {
pname = "consul-alerts";
2018-06-24 19:18:51 +02:00
version = "0.5.0";
rev = "v${version}";
goPackagePath = "github.com/AcalephStorage/consul-alerts";
2018-06-24 19:18:51 +02:00
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit rev;
owner = "AcalephStorage";
repo = "consul-alerts";
2018-06-24 19:18:51 +02:00
sha256 = "0dff2cpk3lkgjsh97rvlrpacpka0kwm29691diyvj7lb9ydzlx3r";
};
meta = with stdenv.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 ];
};
}