Merge pull request #144898 from cmars/kubebuilder-3.2.0
kubebuilder: 3.1.0 -> 3.2.0
This commit is contained in:
commit
be71d103e6
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue