diff --git a/pkgs/by-name/kl/klog-rs/package.nix b/pkgs/by-name/kl/klog-rs/package.nix index 842e78c09578..1dc5bde22e3a 100644 --- a/pkgs/by-name/kl/klog-rs/package.nix +++ b/pkgs/by-name/kl/klog-rs/package.nix @@ -7,26 +7,34 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "klog-rs"; - version = "0.5.1"; + version = "0.6.0"; + + __structuredAttrs = true; src = fetchFromGitHub { owner = "tobifroe"; repo = "klog"; - rev = finalAttrs.version; - hash = "sha256-VyUUzhVwJ1tNLICXwy7f85queH+pn4vL5HTL8IHcQ7w="; + tag = finalAttrs.version; + hash = "sha256-9NYtT4psGaWBVpwprpAdzEaWrmDRRnI1UDVD3Quzj6g="; }; - cargoHash = "sha256-KJxssCN9/WoRR1Cv67CK5muVy+cqEEfzSioQtptplQs="; - checkFlags = [ + cargoHash = "sha256-sDjNJAOFW+0wRN9CCDZRj1q0juczugLibst7ys/mERc="; + + checkFlags = map (t: "--skip=${t}") [ # this integration test depends on a running kubernetes cluster - "--skip=k8s::tests::test_get_pod_list" - "--skip=k8s::tests::test_get_pod_list_for_resource" + "k8s::tests::test_get_pod_list" + "k8s::tests::test_get_pod_list_for_resource" + "tests::test_active_pods_tracking" + "tests::test_pod_manager_clone" + "tests::test_pod_manager_creation" + "tests::test_refresh_interval_zero_disables_refresh" + "tests::test_start_pod_logs_spawns_task" ]; meta = { description = "Tool to tail logs of multiple Kubernetes pods simultaneously"; homepage = "https://github.com/tobifroe/klog"; - changelog = "https://github.com/tobifroe/klog/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/tobifroe/klog/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; mainProgram = "klog"; maintainers = with lib.maintainers; [ tobifroe ];