kube3d: 4.3.0 -> 4.4.0
add installCheckPhase
This commit is contained in:
parent
96f66a5159
commit
b27e590f7f
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kube3d";
|
pname = "kube3d";
|
||||||
version = "4.3.0";
|
version = "4.4.0";
|
||||||
|
|
||||||
excludedPackages = "tools";
|
excludedPackages = "tools";
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ buildGoModule rec {
|
|||||||
owner = "rancher";
|
owner = "rancher";
|
||||||
repo = "k3d";
|
repo = "k3d";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ybEYKr0rQY8Qg74V1mXqShq5Z2d/Adf0bSSbEMIyo3I=";
|
sha256 = "sha256-+9VtFHZ4ZZiX04u5YvPoQaelH9Q9oKMrbFHFFiNUxBA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
@ -31,6 +31,14 @@ buildGoModule rec {
|
|||||||
--zsh <($out/bin/k3d completion zsh)
|
--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; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/rancher/k3d";
|
homepage = "https://github.com/rancher/k3d";
|
||||||
changelog = "https://github.com/rancher/k3d/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/rancher/k3d/blob/v${version}/CHANGELOG.md";
|
||||||
|
Loading…
Reference in New Issue
Block a user