]> git.puffer.fish Git - matthieu/nova.git/commitdiff
add protobuf dependcy
authorMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Wed, 4 Aug 2021 17:41:42 +0000 (21:41 +0400)
committerMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Wed, 4 Aug 2021 17:41:42 +0000 (21:41 +0400)
WORKSPACE

index a6cdab28708e1a3eb944ee9d63597a68e126383a..edb1c3af5fe5f39060f8a6912961c89fba4fc667 100644 (file)
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -35,6 +35,19 @@ http_archive(
     url = "https://github.com/google/cargo-raze/archive/v0.11.0.tar.gz",
 )
 
+http_archive(
+    name = "com_google_protobuf",
+    sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
+    strip_prefix = "protobuf-3.14.0",
+    urls = [
+        "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
+        "https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
+    ],
+)
+
+load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
+protobuf_deps()
+
 load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
 
 go_register_toolchains(version = "1.16.5")