From 43fb956d543002f2149104af0bcbc85d5deca9ee Mon Sep 17 00:00:00 2001 From: easy Date: Tue, 28 Jul 2020 19:09:22 +1000 Subject: [PATCH] Add shasum for grpc and format file. --- WORKSPACE | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 9a8ef94268..8bb49966d1 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -21,10 +21,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # https://github.com/bazelbuild/bazel/issues/6664 http_archive( name = "com_github_grpc_grpc", + sha256 = "d6277f77e0bb922d3f6f56c0f93292bb4cfabfc3c92b31ee5ccea0e100303612", strip_prefix = "grpc-1.28.0", - urls = [ - "https://github.com/grpc/grpc/archive/v1.28.0.tar.gz", - ], + urls = ["https://github.com/grpc/grpc/archive/v1.28.0.tar.gz"], ) load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") @@ -81,9 +80,9 @@ http_archive( http_archive( name = "github_nlohmann_json", + build_file = "//third_party:nlohmann_json.BUILD", sha256 = "69cc88207ce91347ea530b227ff0776db82dcb8de6704e1a3d74f4841bc651cf", urls = [ "https://github.com/nlohmann/json/releases/download/v3.6.1/include.zip", ], - build_file = "//third_party:nlohmann_json.BUILD", )