32 lines
1 KiB
Nix
32 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "lfk";
|
|
version = "0.9.36";
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janosmiko";
|
|
repo = "lfk";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-aIWqZ90Mz6Oc554wLB4691JsX68VG0pD3+AuAOkqNis=";
|
|
};
|
|
|
|
vendorHash = "sha256-2YhpOg5asUYaMQxorwTt1gkyiA165wjBxDoIUJ74sro=";
|
|
|
|
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";
|
|
};
|
|
})
|