"""Loads a lightweight subset of the ICU library for Unicode processing.""" load("//third_party:repo.bzl", "tf_http_archive") # NOTE: If you upgrade this, generate the data files by following the # instructions in third_party/icu/data/BUILD def repo(): tf_http_archive( name = "icu", strip_prefix = "icu-release-69-1", sha256 = "3144e17a612dda145aa0e4acb3caa27a5dae4e26edced64bc351c43d5004af53", urls = [ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/unicode-org/icu/archive/release-69-1.zip", "https://github.com/unicode-org/icu/archive/release-69-1.zip", ], build_file = "//third_party/icu:BUILD.bazel", system_build_file = "//third_party/icu:BUILD.system", patch_file = ["//third_party/icu:udata.patch"], )