-
Notifications
You must be signed in to change notification settings - Fork 23
/
MODULE.bazel
52 lines (44 loc) · 1.8 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
"bazelndf dependencies"
module(
name = "bazeldnf",
version = "v0.5.9",
compatibility_level = 0,
)
bazeldnf = use_extension("//bazeldnf:extensions.bzl", "bazeldnf")
bazeldnf.toolchain()
use_repo(bazeldnf, "bazeldnf_toolchains")
# registers toolchain for consumers of the repo
register_toolchains("@bazeldnf_toolchains//:all")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "bazel_features", version = "1.14.0")
# dependenices for building bazeldnf
bazel_dep(name = "gazelle", version = "0.37.0")
bazel_dep(name = "rules_go", version = "0.49.0")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
"com_github_crillab_gophersat",
"com_github_onsi_gomega",
"com_github_sassoftware_go_rpmutils",
"com_github_sirupsen_logrus",
"com_github_spf13_cobra",
"io_k8s_sigs_yaml",
"org_golang_x_crypto",
)
# deps only needed for the repo internals
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
bazel_dep(name = "aspect_bazel_lib", version = "2.8.1", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)
bazel_dep(name = "rules_pkg", version = "1.0.1", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
bazel_dep(name = "rules_proto", version = "6.0.0", dev_dependency = True)
bazel_dep(name = "rules_java", version = "7.9.0", dev_dependency = True)
bazel_dep(name = "protobuf", version = "27.3", dev_dependency = True)
bazel_dep(name = "toolchains_protoc", version = "0.3.2", dev_dependency = True)
register_toolchains(
"//tools/toolchains:all",
dev_dependency = True,
)