mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
22 lines
514 B
Nix
22 lines
514 B
Nix
|
# This file was generated by go2nix.
|
||
|
{ stdenv, lib, go16Packages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||
|
|
||
|
with go16Packages;
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
name = "consul-${version}";
|
||
|
version = "0.6.4";
|
||
|
rev = "v${version}";
|
||
|
|
||
|
goPackagePath = "github.com/hashicorp/consul";
|
||
|
|
||
|
src = fetchgit {
|
||
|
inherit rev;
|
||
|
url = "https://github.com/hashicorp/consul";
|
||
|
sha256 = "0p6m2rl0d30w418n4fzc4vymqs3vzfa468czmy4znkjmxdl5vp5a";
|
||
|
};
|
||
|
|
||
|
# Keep consul.ui for backward compatability
|
||
|
passthru.ui = pkgs.consul-ui;
|
||
|
}
|