1workspace(name = "upb") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") 5load("//bazel:workspace_deps.bzl", "upb_deps") 6 7upb_deps() 8 9http_archive( 10 name = "lua", 11 build_file = "//bazel:lua.BUILD", 12 sha256 = "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b", 13 strip_prefix = "lua-5.2.4", 14 urls = [ 15 "https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz", 16 "https://www.lua.org/ftp/lua-5.2.4.tar.gz", 17 ], 18) 19 20http_archive( 21 name = "ragel", 22 build_file = "//bazel:ragel.BUILD", 23 sha256 = "5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f", 24 strip_prefix = "ragel-6.10", 25 urls = ["http://www.colm.net/files/ragel/ragel-6.10.tar.gz"], 26) 27 28http_archive( 29 name = "com_google_googletest", 30 sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86", 31 strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb", 32 urls = ["https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip"], # 2019-01-07 33) 34 35http_archive( 36 name = "com_github_google_benchmark", 37 sha256 = "59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3", 38 strip_prefix = "benchmark-16703ff83c1ae6d53e5155df3bb3ab0bc96083be", 39 urls = ["https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip"], 40) 41 42new_git_repository( 43 name = "com_google_googleapis", 44 remote = "https://github.com/googleapis/googleapis.git", 45 branch = "master", 46 build_file = "//benchmarks:BUILD.googleapis", 47 patch_cmds = ["find google -type f -name BUILD.bazel -delete"], 48) 49