workspace(name = "libcbor_bazel_example")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# Google Test
http_archive(
    name = "gtest",
    sha256 = "94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91",
    strip_prefix = "googletest-release-1.10.0",
    url = "https://github.com/google/googletest/archive/release-1.10.0.zip",
)

# libcbor
new_local_repository(
    name = "libcbor",
    build_file = "//third_party:libcbor.BUILD",
    path = "../../src",
)