Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/MODULE.bazel
blob: 2248061676f339d070b43be7344db598a4df1512 (plain)
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
# SPDX-FileCopyrightText: 2026 Progmasoft <[email protected]>
# SPDX-License-Identifier: MIT

module(name = "tazelish", version = "0.1.0")

bazel_dep(name = "rules_cc", version = "0.2.22")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "fmt", version = "12.1.0")

# Catch3 is not in the Bazel Central Registry; its release archive is taken
# from GitHub and checked against this digest.
bazel_dep(name = "catch3", version = "0.3.0.2", dev_dependency = True)
archive_override(
    module_name = "catch3",
    integrity = "sha256-FoE/f8D/iFS1aSdh6i8Xy5RxMGwOBo5ECwbK8pfeE7E=",
    strip_prefix = "catch3-catch3-0.3.0.2",
    urls = ["https://github.com/Progmasoft/catch3/archive/refs/tags/catch3-0.3.0.2.tar.gz"],
)

# rules_cc 0.2.22 forgets to populate DUMPBIN in its clang-cl branch but reads
# the key unconditionally; a one-line patch fills it in.
single_version_override(
    module_name = "rules_cc",
    patch_strip = 0,
    patches = ["//Build:rules_cc_clangcl_dumpbin.patch"],
    version = "0.2.22",
)