diff options
author | aiuto <aiuto@google.com> | 2020-07-24 06:26:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 12:26:13 +0200 |
commit | 07922b040c3d8b8b0317e3dc687db625dd3e3cd4 (patch) | |
tree | d79c82ee2603d7b967a4f0f90c9efcb869452287 /WORKSPACE | |
parent | 2a44ef8ec8c419abd49852b873209de3ab742af7 (diff) | |
download | bazel-skylib-07922b040c3d8b8b0317e3dc687db625dd3e3cd4.tar.gz |
Stop depending on rules_pkg through the federation. (#259)
- while the federation code is in flux, this will mean less churn for skylib
- rules_pkg is only needed by developers for making a distribution, so this won't impact users.
- when we develop a new federation model, we can re-depend the right way.
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -3,6 +3,17 @@ workspace(name = "bazel_skylib") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") +http_archive( + name = "rules_pkg", + urls = [ + "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz", + ], + sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a", +) +load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") +rules_pkg_dependencies() + maybe( name = "bazel_federation", repo_rule = http_archive, |