xref: /freebsd/contrib/libcbor/examples/bazel/WORKSPACE (revision 5d3e7166f6a0187fa3f8831b16a06bd9955c21ff)
1*5d3e7166SEd Masteworkspace(name = "libcbor_bazel_example")
2*5d3e7166SEd Maste
3*5d3e7166SEd Masteload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4*5d3e7166SEd Maste
5*5d3e7166SEd Maste# Google Test
6*5d3e7166SEd Mastehttp_archive(
7*5d3e7166SEd Maste    name = "gtest",
8*5d3e7166SEd Maste    sha256 = "94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91",
9*5d3e7166SEd Maste    strip_prefix = "googletest-release-1.10.0",
10*5d3e7166SEd Maste    url = "https://github.com/google/googletest/archive/release-1.10.0.zip",
11*5d3e7166SEd Maste)
12*5d3e7166SEd Maste
13*5d3e7166SEd Maste# libcbor
14*5d3e7166SEd Mastenew_local_repository(
15*5d3e7166SEd Maste    name = "libcbor",
16*5d3e7166SEd Maste    build_file = "//third_party:libcbor.BUILD",
17*5d3e7166SEd Maste    path = "../../src",
18*5d3e7166SEd Maste)
19*5d3e7166SEd Maste
20