Merge pull request #185315 from welteki/bump-arkade

arkade: 0.8.29 -> 0.8.30
This commit is contained in:
Janne Heß 2022-08-09 23:22:15 +02:00 committed by GitHub
commit 22dee2d335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,22 +2,25 @@
, stdenv
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "arkade";
version = "0.8.29";
version = "0.8.30";
src = fetchFromGitHub {
owner = "alexellis";
repo = "arkade";
rev = version;
sha256 = "sha256-VCscevLGRpBgqxhRNcvIkCdroE0MawG1fROVOLjZLW0=";
sha256 = "sha256-KTZ8UJ0aQmjreio7ancJnZ0KGANAQIPYNSQGXHHSqX4=";
};
CGO_ENABLED = 0;
vendorSha256 = "sha256-CoIlqDMmhZY+B5SEabmnbP2QUu1jkFluCzLp3Y8Z7n0=";
nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "sha256-6EnhO4zYYdsTKvNQApZxXo8x6oFKsmuMvOI3zPHAQLs=";
# Exclude pkg/get: tests downloading of binaries which fail when sandbox=true
subPackages = [
@ -38,6 +41,13 @@ 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";