Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions modules/rules_d/0.7.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""Module definition for rules_d."""

module(
name = "rules_d",
version = "0.7.1",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 1,
)

bazel_dep(name = "bazel_lib", version = "3.0.0")
bazel_dep(name = "bazel_features", version = "1.32.0")
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "curl", version = "8.11.0.bcr.2")
bazel_dep(name = "package_metadata", version = "0.0.6")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.2.1")

bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.8.2", dev_dependency = True)
bazel_dep(name = "bazelrc-preset.bzl", version = "1.9.2", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "8.2.1", dev_dependency = True)
bazel_dep(name = "gazelle", version = "0.47.0", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "rules_go", version = "0.59.0", dev_dependency = True) # For gazelle dependencies and bazel 9 support.

# Select first d toolchain available for the current platform.
d = use_extension("//d:extensions.bzl", "d")
d.toolchain(d_version = "dmd-2.112.0")
d.toolchain(d_version = "ldc-1.41.0")
use_repo(d, "d_toolchains")

register_toolchains("@d_toolchains//:all")
17 changes: 17 additions & 0 deletions modules/rules_d/0.7.1/attestations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
"attestations": {
"source.json": {
"url": "https://github.com/bazel-contrib/rules_d/releases/download/v0.7.1/source.json.intoto.jsonl",
"integrity": "sha256-tlW9y1bnAG+uTzTZ76h3PVLh7jqgT8K4GEqmie54yNQ="
},
"MODULE.bazel": {
"url": "https://github.com/bazel-contrib/rules_d/releases/download/v0.7.1/MODULE.bazel.intoto.jsonl",
"integrity": "sha256-IRnjDlGCK+6OS+N2bxbtUF0uxdgdijYR3TgXeV9xDW0="
},
"rules_d-v0.7.1.tar.gz": {
"url": "https://github.com/bazel-contrib/rules_d/releases/download/v0.7.1/rules_d-v0.7.1.tar.gz.intoto.jsonl",
"integrity": "sha256-/YpNXWHTvlrOttghr8gOgOt0OSVfnUchcUg5azzjo98="
}
}
}
14 changes: 14 additions & 0 deletions modules/rules_d/0.7.1/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"""Module definition for rules_d."""

module(
name = "rules_d",
- version = "0.0.0",
+ version = "0.7.1",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 1,
)

12 changes: 12 additions & 0 deletions modules/rules_d/0.7.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "e2e/smoke"
matrix:
platform: ["debian11", "ubuntu2404"]
bazel: ["7.x", "8.x", "9.x"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
10 changes: 10 additions & 0 deletions modules/rules_d/0.7.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-kurYilfETQnA3rETTo+hwCYbseKkKxDzSn4enKEvJCQ=",
"strip_prefix": "rules_d-0.7.1",
"docs_url": "https://github.com/bazel-contrib/rules_d/releases/download/v0.7.1/rules_d-v0.7.1.docs.tar.gz",
"url": "https://github.com/bazel-contrib/rules_d/releases/download/v0.7.1/rules_d-v0.7.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-rF/wSu7JHZvYbYUm/FYJGDb/TwFhtBIPtKeHn+g+S9c="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_d/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"0.4.0",
"0.4.1",
"0.5.1",
"0.6.0"
"0.6.0",
"0.7.1"
],
"yanked_versions": {}
}
Loading