Unverified Commit 22dee2d3 authored by Janne Heß's avatar Janne Heß Committed by GitHub
Browse files

Merge pull request #185315 from welteki/bump-arkade

arkade: 0.8.29 -> 0.8.30
parents a0329982 8ed1d4bf
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -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";