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