• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15workspace(name = "workspace_test")
16
17local_repository(
18    name = "rules_python",
19    path = "",
20)
21
22load("@rules_python//python:repositories.bzl", "python_register_toolchains")
23
24python_register_toolchains(
25    name = "python",
26    python_version = "%python_version%",
27)
28
29load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
30http_archive(
31    name = "bazel_skylib",
32    urls = [
33        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
34        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
35    ],
36    sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d",
37)
38load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
39bazel_skylib_workspace()
40