mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
20 lines
447 B
Nix
20 lines
447 B
Nix
{ stdenv, lib, buildGoPackage, consul-ui, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "consul-${version}";
|
|
version = "0.6.4";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/hashicorp/consul";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = "consul";
|
|
inherit rev;
|
|
sha256 = "0p6m2rl0d30w418n4fzc4vymqs3vzfa468czmy4znkjmxdl5vp5a";
|
|
};
|
|
|
|
# Keep consul.ui for backward compatability
|
|
passthru.ui = consul-ui;
|
|
}
|