Files
nixpkgs/pkgs/by-name/lf/lfk/package.nix
2026-07-03 01:33:15 +08:00

33 lines
1.0 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "lfk";
version = "0.14.19";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "janosmiko";
repo = "lfk";
tag = "v${finalAttrs.version}";
hash = "sha256-57bAYTU6/Fv7jbKK+RAbITECl4hYQzS2kkn7bytnW+Y=";
};
vendorHash = "sha256-WYx/eMArAsiyfEvrBZmTfK2ABxX2X1VQEtDCxC+UyP8=";
ldflags = [ "-s" ];
meta = {
description = "Lightning Fast Kubernetes navigator";
longDescription = "LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficiency, it brings a three-column Miller columns layout with an owner-based resource hierarchy to your terminal";
homepage = "https://github.com/janosmiko/lfk";
changelog = "https://github.com/janosmiko/lfk/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ gwg313 ];
mainProgram = "lfk";
};
})