1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

kubernetes-controller-tools: 0.14.0 -> 0.16.1

This commit is contained in:
jose.vazquez 2024-08-30 17:30:28 +02:00
parent 48689f5d8c
commit abafc3b3cf

View file

@ -2,25 +2,18 @@
buildGoModule rec {
pname = "controller-tools";
version = "0.14.0";
version = "0.16.1";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-G0jBQ12cpjfWGhXYppV9dB2n68bExi6ME9QbxXsUWvw=";
sha256 = "sha256-BPadZ9FVWnE/5OVYRyGZVGQQ4B3Is+HhUWcf3ZVS7jM=";
};
patches = [ ./version.patch ];
postPatch = ''
# fix wrong go line which go mod tidy complains about
# https://github.com/kubernetes-sigs/controller-tools/pull/881
substituteInPlace go.mod \
--replace-fail "go 1.20" "go 1.21"
'';
vendorHash = "sha256-8XSMg/MII+HlsFuaOC6CK/jYiBXfeRZmLT7sW/ZN3Ts=";
vendorHash = "sha256-3p9K08WMqDRHHa9116//3lFeaMtRaipD4LyisaKWV7I=";
ldflags = [
"-s"