diff --git a/lib/repositories.bzl b/lib/repositories.bzl index 31f59ee..3ada98c 100644 --- a/lib/repositories.bzl +++ b/lib/repositories.bzl @@ -14,7 +14,7 @@ """Definitions for handling Bazel repositories used by apple_support.""" -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def _maybe(repo_rule, name, **kwargs): """Executes the given repository rule if it hasn't been executed already. @@ -35,8 +35,10 @@ def apple_support_dependencies(): changes to those dependencies. """ _maybe( - git_repository, + http_archive, name = "bazel_skylib", - remote = "https://github.com/bazelbuild/bazel-skylib.git", - tag = "0.7.0", + urls = [ + "https://github.com/bazelbuild/bazel-skylib/releases/download/0.8.0/bazel-skylib.0.8.0.tar.gz", + ], + sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e", )