1workspace(name = "libcbor_bazel_example") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4 5# Google Test 6http_archive( 7 name = "gtest", 8 sha256 = "94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91", 9 strip_prefix = "googletest-release-1.10.0", 10 url = "https://github.com/google/googletest/archive/release-1.10.0.zip", 11) 12 13# libcbor 14new_local_repository( 15 name = "libcbor", 16 build_file = "//third_party:libcbor.BUILD", 17 path = "../../src", 18) 19 20