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 ]; + }; +}