roughtime.googlesource.com/roughtime.git@v0.0.0-20201210012726-dd529367052d/WORKSPACE (about)

     1  workspace(name = "roughtime")
     2  
     3  load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
     4  load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
     5  
     6  git_repository(
     7      name = "boringssl",
     8      commit = "e534d74f5732e1aeebd514f05271d089c530c2f9", # April 11th, 2019.
     9      remote = "https://boringssl.googlesource.com/boringssl",
    10  )
    11  
    12  git_repository(
    13      name = "com_google_protobuf",
    14      commit = "v3.7.1",
    15      remote = "https://github.com/protocolbuffers/protobuf",
    16  )
    17  
    18  # protobuf requires bazel-skylib and zlib.
    19  
    20  # bazel-skylib 0.8.0 released 2019.03.20 (https://github.com/bazelbuild/bazel-skylib/releases/tag/0.8.0)
    21  skylib_version = "0.8.0"
    22  http_archive(
    23      name = "bazel_skylib",
    24      type = "tar.gz",
    25      url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format (skylib_version, skylib_version),
    26      sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
    27  )
    28  
    29  bind(
    30      name = "zlib",
    31      actual = "@net_zlib//:zlib",
    32  )
    33  http_archive(
    34      name = "net_zlib",
    35      build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
    36      sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
    37      strip_prefix = "zlib-1.2.11",
    38      urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
    39  )
    40  
    41  http_archive(
    42      name = "gtest",
    43      url = "https://github.com/google/googletest/archive/release-1.7.0.tar.gz",
    44      sha256 = "f73a6546fdf9fce9ff93a5015e0333a8af3062a152a9ad6bcb772c96687016cc",
    45      build_file = "@//:gtest.BUILD",
    46      strip_prefix = "googletest-release-1.7.0",
    47  )