Merge pull request #125680 from 06kellyjac/waypoint

waypoint: 0.3.2 -> 0.4.0
This commit is contained in:
Sandro 2021-06-04 16:57:47 +02:00 committed by GitHub
commit ecb2faca0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,17 +2,17 @@
buildGoModule rec { buildGoModule rec {
pname = "waypoint"; pname = "waypoint";
version = "0.3.2"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-57DHImPYVFK+MXWGeArvc5fwHmqa3zodLytfDoAxglo="; sha256 = "sha256-yeD7XtcB/2ph6cCnOcv0yFQqvAMPDLXMrUWWkgmBUaA=";
}; };
deleteVendor = true; deleteVendor = true;
vendorSha256 = "sha256-HxrY35SqfUbT6VCCXkLUjAsxgtMzpOeoicAGLwD2OyA="; vendorSha256 = "sha256-xZGYPh3Yp3g22GraYfMESVpp7j5fOZASUEvN4YaDd1g=";
nativeBuildInputs = [ go-bindata installShellFiles ]; nativeBuildInputs = [ go-bindata installShellFiles ];
@ -31,6 +31,9 @@ buildGoModule rec {
local INSTALL="$out/bin/waypoint" local INSTALL="$out/bin/waypoint"
install -D waypoint $out/bin/waypoint install -D waypoint $out/bin/waypoint
# waypoint's completion install command alters your <something>rc files
# below is the equivalent of what it injects
# Write to a file as it doesn't like EOF within <() # Write to a file as it doesn't like EOF within <()
cat > waypoint.fish <<EOF cat > waypoint.fish <<EOF
function __complete_waypoint function __complete_waypoint