kube3d: 4.3.0 -> 4.4.0
add installCheckPhase
This commit is contained in:
parent
96f66a5159
commit
b27e590f7f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user