diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix b/nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix index 2cf5d35f653d..cde1c27769b3 100644 --- a/nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix +++ b/nixpkgs/pkgs/applications/networking/cluster/arkade/default.nix @@ -2,22 +2,25 @@ , stdenv , buildGoModule , fetchFromGitHub +, installShellFiles }: buildGoModule rec { pname = "arkade"; - version = "0.8.14"; + version = "0.8.32"; src = fetchFromGitHub { owner = "alexellis"; repo = "arkade"; rev = version; - sha256 = "sha256-XH7JtLv0J6bznZZ/L8wg5KB53OPe3KLiYujBlxP71pg="; + sha256 = "sha256-Yat9RIsbMCGVwu7xqC2xNUPZACpMG+ATsQN7d2n0eFU="; }; CGO_ENABLED = 0; - vendorSha256 = "sha256-ipLVzBkliQSPBZTL5FU8xosTVjxFsUVlAvO0a0q+j2o="; + nativeBuildInputs = [ installShellFiles ]; + + vendorSha256 = "sha256-6EnhO4zYYdsTKvNQApZxXo8x6oFKsmuMvOI3zPHAQLs="; # Exclude pkg/get: tests downloading of binaries which fail when sandbox=true subPackages = [ @@ -38,10 +41,17 @@ buildGoModule rec { "-X github.com/alexellis/arkade/cmd.Version=${version}" ]; + postInstall = '' + installShellCompletion --cmd arkade \ + --bash <($out/bin/arkade completion bash) \ + --zsh <($out/bin/arkade completion zsh) \ + --fish <($out/bin/arkade completion fish) + ''; + meta = with lib; { homepage = "https://github.com/alexellis/arkade"; description = "Open Source Kubernetes Marketplace"; license = licenses.mit; - maintainers = with maintainers; [ welteki ]; + maintainers = with maintainers; [ welteki techknowlogick ]; }; } |