Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind: 0.5.1 -> 0.6.1 #75582

Merged
merged 1 commit into from Dec 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 10 additions & 3 deletions pkgs/development/tools/kind/default.nix
@@ -1,22 +1,29 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:

with stdenv.lib;

buildGoPackage rec {
pname = "kind";
version = "0.5.1";
version = "0.6.1";

src = fetchFromGitHub {
rev = "v${version}";
owner = "kubernetes-sigs";
repo = "kind";
sha256 = "12bjvma98dlxybqs43dggnd6cihxm18xz68a5jw8dzf0cg738gs8";
sha256 = "165nwkhsa12z043rvkdf977jndhp82x7sccqfy75pkx99mzz43r2";
};

goDeps = ./deps.nix;
goPackagePath = "sigs.k8s.io/kind";
subPackages = [ "." ];

nativeBuildInputs = [ installShellFiles ];
postInstall = ''
$bin/bin/kind completion bash > kind.bash
$bin/bin/kind completion zsh > kind.zsh
installShellCompletion kind.{bash,zsh}
'';

meta = {
description = "Kubernetes IN Docker - local clusters for testing Kubernetes";
homepage = https://github.com/kubernetes-sigs/kind;
Expand Down