https://registry.bazel.build/docs/rules_d
From the release you wish to use:
https://github.com/bazel-contrib/rules_d/releases
copy the WORKSPACE snippet into your WORKSPACE file.
To use a commit rather than a release, you can point at any SHA of the repo.
For example to use commit abc123:
url = "https://github.com/bazel-contrib/rules_d/releases/download/v0.1.0/rules_d-v0.1.0.tar.gz" with a GitHub-provided source archive like url = "https://github.com/bazel-contrib/rules_d/archive/abc123.tar.gz"strip_prefix = "rules_d-0.1.0" with strip_prefix = "rules_d-abc123"sha256. The easiest way to do this is to comment out the line, then Bazel will
print a message with the correct value. Note that GitHub source archives don't have a strong
guarantee on the sha256 stability, see
https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/0.10.0 +10d2026-05-12 | |
0.9.0 +12d2026-05-02 | |
0.8.2 +15d2026-04-20 | |
0.8.1 +11d2026-04-04 | |
0.7.6 +9d2026-03-24 | |
0.7.5 +13d2026-03-14 | |
0.7.4 +6d2026-02-28 | |
0.7.3 +1.4mo2026-02-21 | |
0.6.0 +18d2026-01-11 | |
0.5.1 +10d2025-12-23 | |
0.4.1 +11d2025-12-13 | |
0.4.0 +1.3mo2025-12-02 | |
0.3.1 +11d2025-10-22 | |
0.3.0 +8d2025-10-10 | |
0.2.2 +1.2mo2025-10-02 | |
0.1.32025-08-26 |