2016-06-07 22:32:34 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 21:49:27 +02:00
|
|
|
|
2016-06-07 22:32:34 +02:00
|
|
|
buildGoPackage rec {
|
2016-06-04 21:49:27 +02:00
|
|
|
name = "consul-alerts-${version}";
|
|
|
|
version = "0.3.3";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
|
|
|
|
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";
|
2016-06-04 21:49:27 +02:00
|
|
|
sha256 = "1w0mb20w1yazyh84sa30bsw271c5nm7lsx2qg0g3gf6mxdb63lpq";
|
|
|
|
};
|
|
|
|
}
|