Skip to content

Commit 2039aec

Browse files
committed
bazel-registry: Fix protoc-gen-validate@1.3.0.envoy
Signed-off-by: Ryan Northey <ryan@synca.io>
1 parent 2571f54 commit 2039aec

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
diff --git a/bazel/pgv_proto_library.bzl b/bazel/pgv_proto_library.bzl
2-
index b8fb865..84ea112 100644
2+
index b8fb865..8b76c6f 100644
33
--- a/bazel/pgv_proto_library.bzl
44
+++ b/bazel/pgv_proto_library.bzl
55
@@ -22,6 +22,8 @@ def pgv_cc_proto_library(
66
deps = [],
77
cc_deps = [],
88
copts = [],
9-
+ re2 = None,
10-
+ protobuf = None,
9+
+ re2 = "@com_googlesource_code_re2//:re2",
10+
+ protobuf = "@com_google_protobuf//:protobuf",
1111
**kargs):
1212
"""Bazel rule to create a C++ protobuf validation library from proto source files
1313
Args:
@@ -17,8 +17,8 @@ index b8fb865..84ea112 100644
1717
"@com_envoyproxy_protoc_gen_validate//validate:validate_cc",
1818
- "@com_google_protobuf//:protobuf",
1919
- "@com_googlesource_code_re2//:re2",
20-
+ protobuf or "@com_google_protobuf//:protobuf",
21-
+ re2 or "@com_googlesource_code_re2//:re2",
20+
+ protobuf,
21+
+ re2,
2222
],
2323
copts = copts + select({
2424
"@com_envoyproxy_protoc_gen_validate//bazel:windows_x86_64": ["-DWIN32"],

bazel-registry/modules/protoc-gen-validate/1.3.0.envoy/source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"strip_prefix": "protoc-gen-validate-1.3.0",
55
"patches": {
66
"bazel_9_fixes.patch": "sha256-dSY9Vm27yD5rYu4NGHFxOe1J1pjqa/SI1H3DrOdMkSc=",
7-
"pgv.patch": "sha256-EFCQ/TKN9WtSGZUP6tHUJ6fYZOK19gyUIIEIMOC+vOw="
7+
"pgv.patch": "sha256-JiDCkX2TQ8qElPKQndtuvO7TFXS1TUDvHfzbjyewVvI="
88
},
99
"patch_strip": 1
1010
}

0 commit comments

Comments
 (0)