kubebuilder: 3.1.0 -> 3.2.0

Update kubebuilder to 3.2.0.

kubebuilder create api now requires make in $PATH.
This commit is contained in:
Casey Marshall 2021-11-03 07:55:11 +00:00
parent ecb6c3515f
commit f3ee106074
No known key found for this signature in database
GPG Key ID: 6DEC2758ACD5A973

View File

@ -4,19 +4,20 @@
, makeWrapper
, git
, go
, gnumake
}:
buildGoModule rec {
pname = "kubebuilder";
version = "3.1.0";
version = "3.2.0";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "kubebuilder";
rev = "v${version}";
sha256 = "0bl5ff2cplal6hg75800crhyviamk1ws85sq60h4zg21hzf21y68";
sha256 = "sha256-V/g2RHnZPa/9hkVG5WVXmbx6hnJAwUEyyUX/Q3OR2DM=";
};
vendorSha256 = "0zxyd950ksjswja64rfri5v2yaalfg6qmq8215ildgrcavl9974n";
vendorSha256 = "sha256-bTCLuAo5xXNoafjGpjKLKlKVKB29PEFwdPu9+qjvufs=";
subPackages = ["cmd"];
@ -33,7 +34,7 @@ buildGoModule rec {
postInstall = ''
mv $out/bin/cmd $out/bin/kubebuilder
wrapProgram $out/bin/kubebuilder \
--prefix PATH : ${lib.makeBinPath [ go ]}
--prefix PATH : ${lib.makeBinPath [ go gnumake ]}
'';
allowGoReference = true;