mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
23 lines
502 B
Nix
23 lines
502 B
Nix
# This file was generated by go2nix.
|
|
{ stdenv, lib, go16Packages, consul-ui, fetchFromGitHub }:
|
|
|
|
with go16Packages;
|
|
|
|
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;
|
|
}
|