2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-12-08 17:43:20 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "krew";
|
2023-07-17 11:59:40 +00:00
|
|
|
version = "0.4.4";
|
2020-12-08 17:43:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubernetes-sigs";
|
|
|
|
repo = "krew";
|
|
|
|
rev = "v${version}";
|
2023-07-17 11:59:40 +00:00
|
|
|
sha256 = "sha256-SN6F7EmkgjtU4UHYPXWBiuXSSagjQYD6SBYBXRrSVGA=";
|
2020-12-08 17:43:20 +00:00
|
|
|
};
|
|
|
|
|
2023-07-17 11:59:40 +00:00
|
|
|
vendorHash = "sha256-3tEesDezIyB6005PZmOcrnEeAIvc5za3FxTmBBbKf7s=";
|
2020-12-08 17:43:20 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/krew" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-12-08 17:43:20 +00:00
|
|
|
description = "Package manager for kubectl plugins";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "krew";
|
2020-12-08 17:43:20 +00:00
|
|
|
homepage = "https://github.com/kubernetes-sigs/krew";
|
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.asl20;
|
2020-12-08 17:43:20 +00:00
|
|
|
};
|
|
|
|
}
|