rules_meson
Hermetic meson + ninja for Bazel.
| Latest | 0.0.1 |
|---|---|
| Versions | 2 |
| Category | Bazel rules |
| Maintainers | Matt Marshall |
| Registry | https://registry.tbzl.dev/modules/rules_meson/ |
| Source | github.com/tomato-bazel/rules_meson |
bazel_dep(name = "rules_meson", version = "0.0.1")
View source & releases on GitHub ↗
Hermetic meson + ninja for Bazel — build meson projects reproducibly under Bazel with pinned, downloaded meson/ninja toolchains.
Use it
# MODULE.bazel — resolves from the fastverk registry (registry.fastverk.com)
bazel_dep(name = "rules_meson", version = "0.0.0")
See the package BUILD.bazel / defs.bzl for the rules. Part of the
tomato-bazel distribution.
Usage#
Real usage, taken from the module’s examples/.
examples/hello/BUILD.bazel
load("//meson:meson_configure.bzl", "meson_configure")
# M0 smoke target: confirms meson_configure works end-to-end against a
# 2-line meson project. If this builds, the rules_meson toolchain
# (vendored meson + ninja, runner py_binary, path relativization) is
# functional. Output: bazel-bin/examples/hello/hello_compdb.compile_commands.json
# with one entry for hello.c.
meson_configure(
name = "hello_compdb",
srcs = [
"meson.build",
"hello.c",
],
marker = "meson.build",
)Conformance#
No gate findings. 8 contested atoms. See how gating works or the full report.
Contested atoms
Third-party modules where this module resolves a different version than others do. Not a violation of anything this module did — it is the actionable form of a registry-level convergence finding, and the sentence a maintainer can act on.
| Atom | Resolved here | Elsewhere |
|---|---|---|
apple_support | 1.24.2 | 2.2.0 ×1 |
bazel_skylib | 1.8.2 | 1.9.0 ×2 |
nlohmann_json | 3.6.1 | 3.12.0.bcr.1 ×1 |
protobuf | 33.4 | 34.0.bcr.1 ×2 |
rules_jvm_external | 6.7 | 6.8 ×4 |
rules_python | 1.7.0 | 2.0.1 ×1 |
rules_swift | 3.1.2 | 3.6.1 ×1 |
upb | 0.0.0-20220923-a547704 | 0.0.0-20230516-61a97ef ×1 |
Dependencies#
Depends on
Used by (1 in the registry)
Versions#
2 published versions, newest first. Each resolves to an immutable, integrity-checked archive.
| Version | Integrity (sha256) | Source archive |
|---|---|---|
0.0.1 latest | njJ00zSqTTTauevW… | tag archive ↗ |
0.0.0 | K5vjMS86CAPMy+/k… | tag archive ↗ |
Changelog#
All notable changes to this module are documented here; this project adheres to Keep a Changelog and SemVer.