nixpkgs/pkgs/development/tools/kube-prompt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
631 B
Nix
Raw Normal View History

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