blob: f345a8ad5f66f4bc368f659ce1f5f3aa7458d5d9 [file] [log] [blame]
oleksandr.yashchuk@plvision.eu3dbcaaf2019-03-13 14:44:46 +02001load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2
3GNOI_COMMIT = "d703187b4d437508375f55c4e4f44268ccce412f"
4GNOI_SHA = "7c34f6efb48d4efd145059a06702e391840591cdb4668267f9089232de4f9617"
5
6def generate_gnoi():
7 http_archive(
8 name = "com_github_openconfig_gnoi",
9 urls = ["https://github.com/openconfig/gnoi/archive/%s.zip" % GNOI_COMMIT],
10 sha256 = GNOI_SHA,
11 strip_prefix = "gnoi-%s" % GNOI_COMMIT,
12 build_file = "//tools/build/bazel:gnoi_BUILD",
13 )