From 7933d51f617c78becf615e0ea7fb04034b8bdaf0 Mon Sep 17 00:00:00 2001 From: tobifroe Date: Wed, 2 Oct 2024 08:16:23 +0200 Subject: [PATCH] klog-rs: init at 0.0.3 --- pkgs/by-name/kl/klog-rs/package.nix | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/kl/klog-rs/package.nix diff --git a/pkgs/by-name/kl/klog-rs/package.nix b/pkgs/by-name/kl/klog-rs/package.nix new file mode 100644 index 0000000000000..e524a31c5bec3 --- /dev/null +++ b/pkgs/by-name/kl/klog-rs/package.nix @@ -0,0 +1,31 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: + +rustPlatform.buildRustPackage rec { + pname = "klog-rs"; + version = "0.0.3"; + + src = fetchFromGitHub { + owner = "tobifroe"; + repo = "klog"; + rev = version; + hash = "sha256-HEGxg277483ZZpXKFIBTAITKie/iBfbz9KmtqzlGC3E="; + }; + cargoHash = "sha256-mOFzlq5AEks9vwjk2FxTGLyw6RkI44kml2t8r1UsdOk="; + checkFlags = [ + # this integration test depends on a running kubernetes cluster + "--skip=k8s::tests::test_get_pod_list" + ]; + + 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/${version}"; + license = lib.licenses.mit; + mainProgram = "klog"; + maintainers = with lib.maintainers; [ tobifroe ]; + }; +}