Skip to content

Commit

Permalink
klog-rs: init at 0.0.3 (#345863)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 29, 2024
2 parents 31ce2c5 + da26ed2 commit 789c940
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21931,6 +21931,12 @@
githubId = 2164118;
name = "Tobias Bora";
};
tobifroe = {
email = "hi@froelich.dev";
github = "tobifroe";
githubId = 40638719;
name = "Tobias Frölich";
};
tobim = {
email = "nix@tobim.fastmail.fm";
github = "tobim";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/by-name/kl/klog-rs/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
fetchFromGitHub,
rustPlatform,
stdenv,
}:

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 ];
broken = stdenv.hostPlatform.isDarwin;
};
}

0 comments on commit 789c940

Please sign in to comment.