@@ -2,11 +2,38 @@ workspace(name = "org_keras")
22
33load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
44
5+ # Needed by protobuf
6+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
7+ http_archive (
8+ name = "bazel_skylib" ,
9+ url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.1/bazel-skylib-1.0.1.tar.gz" ,
10+ sha256 = "f1c8360c01fcf276778d3519394805dc2a71a64274a3a0908bc9edff7b5aebc8" ,
11+ )
12+ load ("@bazel_skylib//:workspace.bzl" , "bazel_skylib_workspace" )
13+ bazel_skylib_workspace ()
14+
15+ # Needed by protobuf
16+ http_archive (
17+ name = "six_archive" ,
18+ build_file = "//third_party:six.BUILD" ,
19+ sha256 = "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73" ,
20+ strip_prefix = "six-1.12.0" ,
21+ urls = [
22+ "http://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.12.0.tar.gz" ,
23+ "https://pypi.python.org/packages/source/s/six/six-1.12.0.tar.gz" , # 2018-12-10
24+ ],
25+ )
26+
27+ bind (
28+ name = "six" ,
29+ actual = "@six_archive//:six" ,
30+ )
31+
532http_archive (
633 name = "com_google_protobuf" ,
7- sha256 = "b10bf4e2d1a7586f54e64a5d9e7837e5188fc75ae69e36f215eb01def4f9721b " ,
8- strip_prefix = "protobuf-3.15.3 " ,
9- urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.3 .tar.gz" ],
34+ sha256 = "1fbf1c2962af287607232b2eddeaec9b4f4a7a6f5934e1a9276e9af76952f7e0 " ,
35+ strip_prefix = "protobuf-3.9.2 " ,
36+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.9.2 .tar.gz" ],
1037)
1138load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
1239protobuf_deps ()
0 commit comments