nixpkgs/pkgs/development/tools/kube-prompt/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

27 lines
631 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "kube-prompt";
version = "1.0.11";
src = fetchFromGitHub {
owner = "c-bata";
repo = "kube-prompt";
rev = "v${version}";
sha256 = "sha256-9OWsITbC7YO51QzsRwDWvojU54DiuGJhkSGwmesEj9w=";
};
vendorHash = "sha256-wou5inOX8vadEBCIBccwSRjtzf0GH1abwNdUu4JBvyM=";
meta = with lib; {
description = "An interactive kubernetes client featuring auto-complete";
mainProgram = "kube-prompt";
license = licenses.mit;
homepage = "https://github.com/c-bata/kube-prompt";
maintainers = with maintainers; [ vdemeester ];
};
}