@@ -16,28 +16,44 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
1616load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
1717
1818_dependencies = {
19- # This is needed due to an unresolved issue with protobuf v27+.
19+ # cel-cpp needs a newer version of absl, otherwise it will fail to build in
20+ # a very strange manner.
21+ "com_google_absl" : {
22+ "sha256" : "f50e5ac311a81382da7fa75b97310e4b9006474f9560ac46f54a9967f07d4ae3" ,
23+ "strip_prefix" : "abseil-cpp-20240722.0" ,
24+ "urls" : [
25+ "https://github.com/abseil/abseil-cpp/archive/20240722.0.tar.gz" ,
26+ ],
27+ },
28+ # These extra dependencies are needed by protobuf.
29+ # This may be alleviated somewhat by protobuf v30.
2030 # https://github.com/protocolbuffers/protobuf/issues/17200
21- "rules_python " : {
22- "sha256" : "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578 " ,
23- "strip_prefix" : "rules_python -0.24.0 " ,
31+ "rules_cc " : {
32+ "sha256" : "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1 " ,
33+ "strip_prefix" : "rules_cc -0.0.17 " ,
2434 "urls" : [
25- "https://github.com/bazelbuild/rules_python /releases/download/0.24.0/rules_python -0.24.0. tar.gz" ,
35+ "https://github.com/bazelbuild/rules_cc /releases/download/0.0.17/rules_cc -0.0.17. tar.gz"
2636 ],
2737 },
28- "bazel_skylib " : {
29- "sha256" : "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506 " ,
38+ "rules_java " : {
39+ "sha256" : "c0ee60f8757f140c157fc2c7af703d819514de6e025ebf70386d38bdd85fce83 " ,
3040 "urls" : [
31- "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz" ,
32- "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz" ,
41+ "https://github.com/bazelbuild/rules_java/releases/download/7.12.3/rules_java-7.12.3.tar.gz"
42+ ],
43+ },
44+ "rules_python" : {
45+ "sha256" : "9c6e26911a79fbf510a8f06d8eedb40f412023cf7fa6d1461def27116bff022c" ,
46+ "strip_prefix" : "rules_python-1.1.0" ,
47+ "urls" : [
48+ "https://github.com/bazelbuild/rules_python/releases/download/1.1.0/rules_python-1.1.0.tar.gz" ,
3349 ],
3450 },
3551 "com_google_protobuf" : {
36- "sha256" : "e4ff2aeb767da6f4f52485c2e72468960ddfe5262483879ef6ad552e52757a77 " ,
37- "strip_prefix" : "protobuf-27 .2" ,
52+ "sha256" : "63150aba23f7a90fd7d87bdf514e459dd5fe7023fdde01b56ac53335df64d4bd " ,
53+ "strip_prefix" : "protobuf-29 .2" ,
3854 "urls" : [
39- "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v27 .2.tar.gz" ,
40- "https://github.com/protocolbuffers/protobuf/archive/v27 .2.tar.gz" ,
55+ "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v29 .2.tar.gz" ,
56+ "https://github.com/protocolbuffers/protobuf/archive/v29 .2.tar.gz" ,
4157 ],
4258 },
4359 "rules_proto" : {
@@ -55,12 +71,14 @@ _dependencies = {
5571 ],
5672 },
5773 "com_google_cel_cpp" : {
58- "sha256" : "d62b93fd07c6151749e83855157f3f2778d62c168318f9c40dfcfe1c336c496f " ,
59- "strip_prefix" : "cel-cpp-da0aba702f44a41ec6d2eb4bbf6a9f01efc2746d " ,
74+ "sha256" : "dd06b708a9f4c3728e76037ec9fb14fc9f6d9c9980e5d5f3a1d047f3855a8b98 " ,
75+ "strip_prefix" : "cel-cpp-0.10.0 " ,
6076 "urls" : [
61- "https://github.com/google/cel-cpp/archive/da0aba702f44a41ec6d2eb4bbf6a9f01efc2746d.tar.gz" ,
77+ "https://github.com/google/cel-cpp/archive/v0.10.0.tar.gz" ,
78+ ],
79+ "patches" : [
80+ "@com_github_bufbuild_protovalidate_cc//bazel:patches/cel_cpp/0001-Allow-message-field-access-using-index-operator.patch"
6281 ],
63- "patches" : ["@com_github_bufbuild_protovalidate_cc//bazel:cel_cpp.patch" ],
6482 "patch_args" : ["-p1" ],
6583 },
6684 # NOTE: Keep Version in sync with `/Makefile`.
0 commit comments