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

28 lines
755 B
Nix
Raw Normal View History

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