2016-06-06 00:28:52 +00:00
|
|
|
{ stdenv, lib, buildGo16Package, consul-ui, fetchFromGitHub }:
|
2016-06-04 18:40:56 +00:00
|
|
|
|
2016-06-06 00:28:52 +00:00
|
|
|
buildGo16Package rec {
|
2016-06-04 18:40:56 +00:00
|
|
|
name = "consul-${version}";
|
|
|
|
version = "0.6.4";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/consul";
|
|
|
|
|
2016-06-04 21:24:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "consul";
|
2016-06-04 18:40:56 +00:00
|
|
|
inherit rev;
|
|
|
|
sha256 = "0p6m2rl0d30w418n4fzc4vymqs3vzfa468czmy4znkjmxdl5vp5a";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Keep consul.ui for backward compatability
|
2016-06-04 21:24:19 +00:00
|
|
|
passthru.ui = consul-ui;
|
2016-06-04 18:40:56 +00:00
|
|
|
}
|