humioctl: 0.25.0 -> 0.26.0 (#94411)

This commit is contained in:
Luc Perkins 2020-07-31 23:44:51 -07:00 committed by GitHub
parent 6c0be8d690
commit 945a1e96a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
{ buildGoModule, fetchFromGitHub, installShellFiles, stdenv }: { buildGoModule, fetchFromGitHub, installShellFiles, stdenv }:
let let
humioCtlVersion = "0.25.0"; humioCtlVersion = "0.26.0";
sha256 = "1x8354m410nf9g167v0i1c77s5w2by7smdlyjwl89ixgdjw04ay3"; sha256 = "1j33hmvhkb546dbi2qd5hmpcv715yg9rnpxicc1mayr9f1i2aj2i";
vendorSha256 = "14bysjgvahr56hvd8walym11hh721i1q2g503n8m68wdzrrym4qy"; vendorSha256 = "1l2wa4w43srfrkb4qrgiyzdb6bnaqvp9g3fnrln6bhrcw6jsgj4z";
in buildGoModule { in buildGoModule {
name = "humioctl-${humioCtlVersion}"; name = "humioctl-${humioCtlVersion}";
pname = "humioctl"; pname = "humioctl";
@ -23,7 +23,6 @@ in buildGoModule {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
postInstall = '' postInstall = ''
mv $out/bin/cli $out/bin/humioctl
$out/bin/humioctl completion bash > humioctl.bash $out/bin/humioctl completion bash > humioctl.bash
$out/bin/humioctl completion zsh > humioctl.zsh $out/bin/humioctl completion zsh > humioctl.zsh
installShellCompletion humioctl.{bash,zsh} installShellCompletion humioctl.{bash,zsh}