Merge pull request #118050 from 06kellyjac/kube3d

kube3d: 4.3.0 -> 4.4.0
This commit is contained in:
Sandro 2021-03-30 14:32:06 +02:00 committed by GitHub
commit 5aa2443055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "kube3d";
version = "4.3.0";
version = "4.4.0";
excludedPackages = "tools";
@ -10,7 +10,7 @@ buildGoModule rec {
owner = "rancher";
repo = "k3d";
rev = "v${version}";
sha256 = "sha256-ybEYKr0rQY8Qg74V1mXqShq5Z2d/Adf0bSSbEMIyo3I=";
sha256 = "sha256-+9VtFHZ4ZZiX04u5YvPoQaelH9Q9oKMrbFHFFiNUxBA=";
};
vendorSha256 = null;
@ -31,6 +31,14 @@ buildGoModule rec {
--zsh <($out/bin/k3d completion zsh)
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/k3d --help
$out/bin/k3d version | grep "k3d version v${version}"
runHook postInstallCheck
'';
meta = with lib; {
homepage = "https://github.com/rancher/k3d";
changelog = "https://github.com/rancher/k3d/blob/v${version}/CHANGELOG.md";