kubernix: modernize (#567911)

This commit is contained in:
Yohann Boniface
2026-09-28 21:07:57 +00:00
committed by GitHub

View File

@@ -2,17 +2,20 @@
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kubernix";
version = "0.4.1";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "saschagrunert";
repo = "kubernix";
tag = "v${finalAttrs.version}";
sha256 = "sha256-LO6WXXNkUf1rkjRuSHRWtfHtCL9oj+36cewrRc/KLdw=";
hash = "sha256-LO6WXXNkUf1rkjRuSHRWtfHtCL9oj+36cewrRc/KLdw=";
};
cargoHash = "sha256-l1LMqGh7DGZAJdSRsbCqr1/5pA9rZYN8nJ3cMRuSR+Q=";
@@ -20,6 +23,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Tests require network access
doCheck = false;
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Single dependency Kubernetes clusters for local testing, experimenting and development";
mainProgram = "kubernix";