-
Notifications
You must be signed in to change notification settings - Fork 1
/
MODULE.bazel
60 lines (51 loc) · 1.35 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
"bzlmod declaration for rules_nickel"
module(
name = "org_nickel_lang_rules_nickel",
version = "0.0.0",
compatibility_level = 1,
)
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_python", version = "0.25.0", dev_dependency = True)
python = use_extension(
"@rules_python//python/extensions:python.bzl",
"python",
dev_dependency = True,
)
python.toolchain(
is_default = True,
python_version = "3.11",
)
pip = use_extension(
"@rules_python//python/extensions:pip.bzl",
"pip",
dev_dependency = True,
)
pip.parse(
hub_name = "pip",
python_version = "3.11",
requirements_lock = "//scripts:requirements_lock.txt",
)
use_repo(pip, "pip")
bazel_dep(name = "aspect_bazel_lib", version = "1.34.0", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True)
nickel = use_extension(
"//nickel:extensions.bzl",
"nickel",
dev_dependency = True,
)
nickel.toolchain(
name = "nickel",
nickel_version = "1.4.0",
)
use_repo(nickel, "nickel_toolchains")
register_toolchains(
"@nickel_toolchains//:all",
dev_dependency = True,
)
version_test = use_extension(
"//nickel/tests:version_test.bzl",
"version_test",
dev_dependency = True,
)
use_repo(version_test, "all_nickel_versions")