nixpkgs/pkgs/applications/networking/cluster/kubectl-explore/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
731 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-explore";
version = "0.7.2";
src = fetchFromGitHub {
owner = "keisku";
repo = "kubectl-explore";
rev = "v${version}";
hash = "sha256-OVPct3EvtchH9pmMulIddsiR9VFoCegx9+O7lkecoJc=";
};
vendorHash = "sha256-l6SANWkDQSuLbyixbO/Xr2oRG8HR/qquTT9b/IM+JVg=";
doCheck = false;
meta = with lib; {
description = "A better kubectl explain with the fuzzy finder";
mainProgram = "kubectl-explore";
homepage = "https://github.com/keisku/kubectl-explore";
changelog = "https://github.com/keisku/kubectl-explore/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ maintainers.koralowiec ];
};
}