workspace: update cel-go to 0.11.4
This allows us to remove a patch which has been upstreamed.
While I'm at it let's also drop the patch fixing up the googleapis
references and make Gazelle do the work as it does include the
necessary resolutions since 0.25.
Change-Id: I66d6dae609661c311911144b82807ebddd8f3805
Reviewed-on: https://review.monogon.dev/c/monogon/+/684
Reviewed-by: Mateusz Zalega <mateusz@monogon.tech>
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 92ecee0..82da125 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -117,8 +117,8 @@
go_repository(
name = "com_github_antlr_antlr4_runtime_go_antlr",
importpath = "github.com/antlr/antlr4/runtime/Go/antlr",
- sum = "h1:GCzyKMDDjSGnlpl3clrdAK7I1AaVoaiKDOYkUzChZzg=",
- version = "v0.0.0-20210826220005-b48c857c3a0e",
+ sum = "h1:ue9pVfIcP+QMEjfgo/Ez4ZjNZfonGgR6NgjMaJMu1Cg=",
+ version = "v0.0.0-20220418222510-f25a4f6275ed",
)
go_repository(
@@ -1649,15 +1649,15 @@
)
go_repository(
name = "com_github_google_cel_go",
+ # Gazelle needs to regenerate the upstream build files due to a
+ # mismatch in how the Google APIs repository is canonically called.
+ # See https://github.com/bazelbuild/rules_go/issues/1986 for more
+ # details.
+ build_file_generation = "on",
build_naming_convention = "go_default_library",
importpath = "github.com/google/cel-go",
- patch_args = ["-p1"],
- pre_patches = [
- "//third_party/go/patches:cel-fix-antlr.patch",
- "//third_party/go/patches:cel-fix-googleapis.patch",
- ],
- sum = "h1:MQBGSZGnDwh7T/un+mzGKOMz3x+4E/GDPprWjDL+1Jg=",
- version = "v0.10.1",
+ sum = "h1:wWOnKmLxALl3l9Av221MfIOWRiR01sDVljzg6LZ6Zn0=",
+ version = "v0.11.4",
)
go_repository(
name = "com_github_google_cel_spec",
@@ -4921,8 +4921,8 @@
go_repository(
name = "org_golang_google_genproto",
importpath = "google.golang.org/genproto",
- sum = "h1:gMjH4zLGs9m+dGzR7qHCHaXMOwsJHJKKkHtyXhtOrJk=",
- version = "v0.0.0-20220429170224-98d788798c3e",
+ sum = "h1:hrbNEivu7Zn1pxvHk6MBrq9iE22woVILTHqexqBxe6I=",
+ version = "v0.0.0-20220502173005-c8bf987b8c21",
)
go_repository(
name = "org_golang_google_grpc",