nixpkgs/pkgs/servers/consul/default.nix

23 lines
502 B
Nix
Raw Normal View History

2016-06-04 18:40:56 +00:00
# This file was generated by go2nix.
2016-06-04 21:24:19 +00:00
{ stdenv, lib, go16Packages, consul-ui, fetchFromGitHub }:
2016-06-04 18:40:56 +00:00
with go16Packages;
buildGoPackage rec {
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
}