-
Notifications
You must be signed in to change notification settings - Fork 2
/
workspace.bzl
132 lines (118 loc) · 5.51 KB
/
workspace.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
"""Repository rules for downloading all dependencies."""
load("//toolchains:utils.bzl", "patch_files")
load("//tools:javascript_target.bzl", "JS_TARGET")
load(":http_archive.bzl", "http_archive")
def workspace_dependencies():
"""Set up dependencies of THIS workspace."""
http_archive(
name = "build_bazel_rules_nodejs",
version = "5.5.3",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/{version}/rules_nodejs-{version}.tar.gz"],
sha256 = "f10a3a12894fc3c9bf578ee5a5691769f6805c4be84359681a785a0c12e8d2b6",
build_file_content = None,
)
http_archive(
name = "io_bazel_rules_go",
version = "0.38.1",
urls = [
"https://github.com/bazelbuild/rules_go/releases/download/v{version}/rules_go-v{version}.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v{version}/rules_go-v{version}.zip",
],
sha256 = "dd926a88a564a9246713a9c00b35315f54cbd46b31a26d5d8fb264c07045f05d",
build_file_content = None,
)
http_archive(
name = "bazel_gazelle",
version = "0.27.0",
urls = [
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v{version}/bazel-gazelle-v{version}.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v{version}/bazel-gazelle-v{version}.tar.gz",
],
sha256 = "efbbba6ac1a4fd342d5122cbdfdb82aeb2cf2862e35022c752eaddffada7c3f3",
build_file_content = None,
)
http_archive(
name = "platforms",
version = "0.0.6",
urls = [
"https://github.com/bazelbuild/{name}/releases/download/{version}/{name}-{version}.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/{name}/releases/download/{version}/{name}-{version}.tar.gz",
],
sha256 = "5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca",
build_file_content = None,
)
http_archive(
name = "bazel-skylib",
version = "1.4.0",
urls = [
"https://github.com/bazelbuild/{name}/releases/download/{version}/{name}-{version}.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/{name}/releases/download/{version}/{name}-{version}.tar.gz",
],
sha256 = "f24ab666394232f834f74d19e2ff142b0af17466ea0c69a3f4c276ee75f6efce",
build_file_content = None,
)
http_archive(
name = "com_google_protobuf",
version = "3.19.4", # This should match VERSION from //lib/protobuf:package.bzl.
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz"],
sha256 = "3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568",
strip_prefix = "protobuf-{version}",
build_file_content = None,
)
http_archive(
name = "com_github_bazelbuild_buildtools",
version = "4.2.2",
urls = ["https://github.com/bazelbuild/buildtools/archive/refs/tags/{version}.tar.gz"],
sha256 = "ae34c344514e08c23e90da0e2d6cb700fcd28e80c02e23e4d5715dddcb42f7b3",
strip_prefix = "buildtools-{version}",
build_file_content = None,
)
http_archive(
name = "io_bazel_rules_sass",
version = "1.54.9",
urls = ["https://github.com/bazelbuild/rules_sass/archive/refs/tags/{version}.tar.gz"],
strip_prefix = "rules_sass-{version}",
sha256 = "8153959858eb898a8eca9f4408f0287c73bfdb85f048a14a8a271fe12b780433",
build_file_content = None,
)
http_archive(
name = "io_bazel_rules_closure",
version = "f19dc96c1dad6990b67dc3a35818cde5b7042bbb", # master @ 2023-10-18T23:57:51Z
sha256 = "1ca3e1014e85077ccf0b1399b69b0a741560660dc47638f38bd4dcb0c8e2122d",
strip_prefix = "rules_closure-{version}",
urls = ["https://github.com/bazelbuild/rules_closure/archive/{version}.zip"],
patch_cmds = patch_files({
"closure/private/defs.bzl": 's/JS_LANGUAGE_IN = "STABLE"/JS_LANGUAGE_IN = "{}"/'.format(JS_TARGET),
}),
)
http_archive(
name = "bazelruby_rules_ruby",
version = "c93a6814b6193572c7c8b677b560314f52b31962", # master @ 2022-04-29T20:36:44Z
sha256 = "21eb494757d8062eaf699bc85e0aa29bcf851268ff78d23737967099e5bb9417",
strip_prefix = "rules_ruby-{version}",
urls = ["https://github.com/bazelruby/rules_ruby/archive/{version}.zip"],
)
http_archive(
name = "aspect_rules_webpack",
version = "0.6.1",
sha256 = "c7ccb778a24ec7033ab796e4b480153299b7ff0d75e64a957824055f201fa2af",
strip_prefix = "rules_webpack-{version}",
urls = ["https://github.com/aspect-build/rules_webpack/archive/refs/tags/v{version}.tar.gz"],
)
http_archive(
name = "rules_rust",
version = "0.29.1",
sha256 = "9ecd0f2144f0a24e6bc71ebcc50a1ee5128cedeceb32187004532c9710cb2334",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust-v{version}.tar.gz"],
build_file_content = None,
)
http_archive(
name = "rules_pkg",
version = "0.8.0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/{version}/rules_pkg-{version}.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/{version}/rules_pkg-{version}.tar.gz",
],
sha256 = "eea0f59c28a9241156a47d7a8e32db9122f3d50b505fae0f33de6ce4d9b61834",
build_file_content = None,
)