oleksandr.yashchuk@plvision.eu | 3dbcaaf | 2019-03-13 14:44:46 +0200 | [diff] [blame] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 | |
| 3 | GNOI_COMMIT = "d703187b4d437508375f55c4e4f44268ccce412f" |
| 4 | GNOI_SHA = "7c34f6efb48d4efd145059a06702e391840591cdb4668267f9089232de4f9617" |
| 5 | |
| 6 | def 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 | ) |