-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMODULE.bazel
103 lines (85 loc) · 1.85 KB
/
MODULE.bazel
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
module(
name = "lz4-erlang",
version = "1.9.4.1",
)
bazel_dep(
name = "platforms",
version = "0.0.7",
)
bazel_dep(
name = "rules_cc",
version = "0.0.9",
)
external_deps = use_extension(
":extensions.bzl",
"external_deps",
)
use_repo(
external_deps,
"lz4_src",
"nif_helpers",
)
external_test_deps = use_extension(
":extensions.bzl",
"external_test_deps",
dev_dependency = True,
)
use_repo(
external_test_deps,
"pdf_reference",
)
bazel_dep(
name = "rules_erlang",
version = "3.15.1",
)
erlang_config = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_config",
dev_dependency = True,
)
erlang_config.internal_erlang_from_github_release(
name = "24",
sha256 = "aad5d79ab7554b5827298024b722dbbf54bf01b9a5737e633e93e5953fadc4f9",
version = "24.3.4.16",
)
erlang_config.internal_erlang_from_github_release(
name = "25",
sha256 = "fd690c843100c3268ac7d8ada02af8310e8520bf32581eb72f28c26ae61b46ad",
version = "25.3.2.12",
)
erlang_config.internal_erlang_from_github_release(
name = "26",
sha256 = "47853ea9230643a0a31004433f07a71c1b92d6e0094534f629e3b75dbc62f193",
version = "26.0.2",
)
use_repo(
erlang_config,
"erlang_config",
)
erlang_package = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_package",
)
erlang_package.hex_package(
name = "host_triple",
sha256 = "26fee396a7c0e1d66115e74638a795366496b59bf13f474f3ae1c4491fd14fc5",
version = "0.1.0",
)
use_repo(
erlang_package,
"host_triple",
)
erlang_dev_package = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_package",
dev_dependency = True,
)
erlang_dev_package.git_package(
testonly = True,
branch = "master",
repository = "extend/ct_helper",
)
use_repo(
erlang_dev_package,
"ct_helper",
)