2021-11-04 02:44:26 +00:00
|
|
|
# Copyright 2021 The Bazel Authors. All rights reserved.
|
2020-02-28 06:22:37 +00:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2019-06-06 19:12:26 +00:00
|
|
|
workspace(name = "rules_pkg")
|
|
|
|
|
2021-11-04 02:44:26 +00:00
|
|
|
load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies")
|
2020-02-28 06:22:37 +00:00
|
|
|
|
2019-06-06 19:12:26 +00:00
|
|
|
rules_pkg_dependencies()
|
2020-02-28 06:22:37 +00:00
|
|
|
|
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
|
|
|
|
|
|
|
bazel_skylib_workspace()
|
|
|
|
|
2020-05-22 18:50:42 +00:00
|
|
|
### INTERNAL ONLY - lines after this are not included in the release packaging.
|
|
|
|
#
|
|
|
|
# Include dependencies which are only needed for development here.
|
|
|
|
|
2022-10-20 14:46:25 +00:00
|
|
|
# Used to test invoking rules with targets in an external repo.
|
|
|
|
local_repository(
|
|
|
|
name = "mappings_test_external_repo",
|
|
|
|
path = "tests/mappings/external_repo",
|
|
|
|
)
|
|
|
|
|
2021-11-04 02:44:26 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2022-05-10 17:40:30 +00:00
|
|
|
http_archive(
|
|
|
|
name = "platforms",
|
2024-04-16 02:54:25 +00:00
|
|
|
sha256 = "5eda539c841265031c2f82d8ae7a3a6490bd62176e0c038fc469eabf91f6149b",
|
2022-05-10 17:40:30 +00:00
|
|
|
urls = [
|
2024-04-16 02:54:25 +00:00
|
|
|
"https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz",
|
2022-05-10 17:40:30 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-01-14 05:00:35 +00:00
|
|
|
# Find rpmbuild if it exists.
|
2022-02-16 00:55:59 +00:00
|
|
|
load("@rules_pkg//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild")
|
2021-01-14 05:00:35 +00:00
|
|
|
|
|
|
|
find_system_rpmbuild(
|
|
|
|
name = "rules_pkg_rpmbuild",
|
2022-03-16 13:56:04 +00:00
|
|
|
verbose = False,
|
2021-01-14 05:00:35 +00:00
|
|
|
)
|
|
|
|
|
2021-07-06 18:21:02 +00:00
|
|
|
# Needed for making our release notes
|
|
|
|
load("@rules_pkg//toolchains/git:git_configure.bzl", "experimental_find_system_git")
|
|
|
|
|
|
|
|
experimental_find_system_git(
|
|
|
|
name = "rules_pkg_git",
|
2022-03-16 13:56:04 +00:00
|
|
|
verbose = False,
|
2021-07-06 18:21:02 +00:00
|
|
|
)
|
|
|
|
|
2020-04-27 19:47:20 +00:00
|
|
|
http_archive(
|
|
|
|
name = "bazel_stardoc",
|
2022-01-11 02:05:45 +00:00
|
|
|
sha256 = "c9794dcc8026a30ff67cf7cf91ebe245ca294b20b071845d12c192afe243ad72",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
|
|
|
|
],
|
2020-04-27 19:47:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
load("@bazel_stardoc//:setup.bzl", "stardoc_repositories")
|
|
|
|
|
|
|
|
stardoc_repositories()
|
2023-10-24 22:11:32 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_cc",
|
|
|
|
sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
|
|
|
|
strip_prefix = "rules_cc-0.0.9",
|
2023-11-06 18:29:07 +00:00
|
|
|
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"],
|
2023-10-24 22:11:32 +00:00
|
|
|
)
|
2023-11-06 18:29:07 +00:00
|
|
|
|
2023-11-07 16:28:30 +00:00
|
|
|
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies")
|
2023-10-24 22:11:32 +00:00
|
|
|
|
|
|
|
rules_cc_dependencies()
|