waypoint: 0.3.2 -> 0.4.0
This commit is contained in:
parent
67a3b2a2b6
commit
82d1d45028
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue