2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 21:49:27 +02:00
|
|
|
|
2016-06-07 22:32:34 +02:00
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "consul-alerts";
|
2018-06-24 19:18:51 +02:00
|
|
|
version = "0.5.0";
|
2016-06-04 21:49:27 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
|
|
|
|
2018-06-24 19:18:51 +02:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2016-06-06 12:56:28 +02:00
|
|
|
src = fetchFromGitHub {
|
2016-06-04 21:49:27 +02:00
|
|
|
inherit rev;
|
2016-06-06 12:56:28 +02:00
|
|
|
owner = "AcalephStorage";
|
|
|
|
repo = "consul-alerts";
|
2018-06-24 19:18:51 +02:00
|
|
|
sha256 = "0dff2cpk3lkgjsh97rvlrpacpka0kwm29691diyvj7lb9ydzlx3r";
|
2016-06-04 21:49:27 +02:00
|
|
|
};
|
2018-06-25 16:51:09 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2016-06-04 21:49:27 +02:00
|
|
|
}
|