2016-06-07 21:32:34 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, consul-ui, fetchFromGitHub }:
|
2016-06-04 19:40:56 +01:00
|
|
|
|
2016-06-07 21:32:34 +01:00
|
|
|
buildGoPackage rec {
|
2016-06-04 19:40:56 +01:00
|
|
|
name = "consul-${version}";
|
2017-01-31 15:58:09 +00:00
|
|
|
version = "0.7.3";
|
2016-06-04 19:40:56 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/consul";
|
|
|
|
|
2016-06-04 22:24:19 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "consul";
|
2016-06-04 19:40:56 +01:00
|
|
|
inherit rev;
|
2017-01-31 15:58:09 +00:00
|
|
|
sha256 = "0ab84sm281ibl9h6zfk17mr7yc9vxpi8i2xb4kzi8bg43n05lj4d";
|
2016-06-04 19:40:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Keep consul.ui for backward compatability
|
2016-06-04 22:24:19 +01:00
|
|
|
passthru.ui = consul-ui;
|
2016-06-04 19:40:56 +01:00
|
|
|
}
|