aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
diff options
context:
space:
mode:
authoraiuto <aiuto@google.com>2020-07-24 06:26:13 -0400
committerGitHub <noreply@github.com>2020-07-24 12:26:13 +0200
commit07922b040c3d8b8b0317e3dc687db625dd3e3cd4 (patch)
treed79c82ee2603d7b967a4f0f90c9efcb869452287 /WORKSPACE
parent2a44ef8ec8c419abd49852b873209de3ab742af7 (diff)
downloadbazel-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--WORKSPACE11
1 files changed, 11 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index c79cb22..efcedf9 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -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,