forked from livegrep/livegrep
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
186 lines (141 loc) · 5.29 KB
/
WORKSPACE
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
workspace(name = "com_github_livegrep_livegrep")
load(
"@bazel_tools//tools/build_defs/repo:git.bzl",
"git_repository",
)
load(
"@bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive",
)
http_archive(
name = "divsufsort",
build_file = "//third_party:BUILD.divsufsort",
sha256 = "9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0",
strip_prefix = "libdivsufsort-2.0.1",
type = "tgz",
url = "https://codeload.github.com/y-256/libdivsufsort/tar.gz/2.0.1",
)
git_repository(
name = "gflags",
commit = "e171aa2d15ed9eb17054558e0b3a6a413bb01067", # v2.2.2
remote = "https://github.com/gflags/gflags",
shallow_since = "1541971260 +0000",
)
git_repository(
name = "com_github_nelhage_rules_boost",
commit = "03a871125484f8bea934761d5e8673f5d4979b57",
remote = "https://github.com/nelhage/rules_boost",
)
# local_repository(
# name = "com_github_nelhage_boost",
# path = "../rules_boost",
# )
load(
"@com_github_nelhage_rules_boost//:boost/boost.bzl",
"boost_deps",
)
boost_deps()
http_archive(
name = "io_bazel_rules_go",
sha256 = "099a9fb96a376ccbbb7d291ed4ecbdfd42f6bc822ab77ae6f1b5cb9e914e94fa",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip",
],
)
git_repository(
name = "bazel_gazelle",
commit = "3ea1d64d6fe943dac06c341f9a265472bb99acd7", # 0.24.0
remote = "https://github.com/bazelbuild/bazel-gazelle.git",
shallow_since = "1633971621 -0400",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.19.2")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load(
"//tools/build_defs:go_externals.bzl",
"go_externals",
)
go_externals()
http_archive(
name = "com_github_libgit2",
build_file = "//third_party:BUILD.libgit2",
sha256 = "adf17310b590e6e7618f070c742b5ee028aeeed2c60099bc4190c386b5060de1",
strip_prefix = "libgit2-0.27.9/",
url = "https://github.com/libgit2/libgit2/archive/v0.27.9.tar.gz",
)
http_archive(
name = "com_google_absl",
sha256 = "497ebdc3a4885d9209b9bd416e8c3f71e7a1fb8af249f6c2a80b7cbeefcd7e21",
strip_prefix = "abseil-cpp-20230802.1/",
url = "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip",
)
http_archive(
name = "com_github_grpc_grpc",
sha256 = "437068b8b777d3b339da94d3498f1dc20642ac9bfa76db43abdd522186b1542b",
strip_prefix = "grpc-1.60.0",
url = "https://github.com/grpc/grpc/archive/refs/tags/v1.60.0.tar.gz",
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
# load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
# grpc_extra_deps()
load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies")
load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
apple_rules_dependencies()
apple_support_dependencies()
load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language")
switched_rules_by_language(
name = "com_google_googleapis_imports",
cc = True,
grpc = True,
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
git_repository(
name = "io_bazel_buildifier",
commit = "ae772d29d07002dfd89ed1d9ff673a1721f1b8dd",
remote = "https://github.com/bazelbuild/buildifier.git",
)
http_archive(
name = "hedron_compile_commands",
sha256 = "ed5aea1dc87856aa2029cb6940a51511557c5cac3dbbcb05a4abd989862c36b4",
strip_prefix = "bazel-compile-commands-extractor-e16062717d9b098c3c2ac95717d2b3e661c50608",
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/e16062717d9b098c3c2ac95717d2b3e661c50608.tar.gz",
)
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()
http_archive(
name = "aspect_rules_js",
sha256 = "66ecc9f56300dd63fb86f11cfa1e8affcaa42d5300e2746dba08541916e913fd",
strip_prefix = "rules_js-1.13.0",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.13.0.tar.gz",
)
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//web:.npmrc",
pnpm_lock = "//web:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
http_archive(
name = "rules_pkg",
sha256 = "e93b7309591cabd68828a1bcddade1c158954d323be2205063e718763627682a",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.10.0/rules_pkg-0.10.0.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.10.0/rules_pkg-0.10.0.tar.gz",
],
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()