Merge pull request #144898 from cmars/kubebuilder-3.2.0

kubebuilder: 3.1.0 -> 3.2.0
This commit is contained in:
Thiago Kenji Okada 2021-11-07 21:31:26 -03:00 committed by GitHub
commit be71d103e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;