mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
20 lines
447 B
Nix
20 lines
447 B
Nix
{ stdenv, lib, buildGoPackage, consul-ui, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "consul-${version}";
|
|
version = "0.7.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/hashicorp/consul";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = "consul";
|
|
inherit rev;
|
|
sha256 = "04h5y5vixjh9np9lsrk02ypbqwcq855h7l1jlnl1vmfq3sfqjds7";
|
|
};
|
|
|
|
# Keep consul.ui for backward compatability
|
|
passthru.ui = consul-ui;
|
|
}
|