blob: a8d66ca1befd07acc7d0c009267751172257ba5e [file] [log] [blame]
# Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Workspace definition for rules_fuchsia. This ruleset will not remain inside
# the workstation.git repository long-term, so it uses its own workspace.
workspace(name = "rules_fuchsia")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# Stardoc documentation generator
# https://github.com/bazelbuild/stardoc
git_repository(
name = "io_bazel_stardoc",
commit = "4378e9b6bb2831de7143580594782f538f461180",
remote = "https://github.com/bazelbuild/stardoc.git",
shallow_since = "1570829166 -0400",
)
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
# Bazel Skylib; Starlark utilities
# https://github.com/bazelbuild/bazel-skylib
http_archive(
name = "bazel_skylib",
sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
urls = [
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
load("@rules_fuchsia//fuchsia:deps.bzl", "rules_fuchsia_deps")
rules_fuchsia_deps()
load("@rules_fuchsia//fuchsia:workspace_setup.bzl", "rules_fuchsia_workspace_setup")
rules_fuchsia_workspace_setup()