forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c432444
commit ed0c922
Showing
5 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
"""Defines the bzlmod module""" | ||
|
||
module( | ||
name = "swift_bep_parser", | ||
version = "0.0.4", | ||
bazel_compatibility = [ | ||
">=6.0.0", | ||
"<8.0.0", | ||
], | ||
compatibility_level = 1, | ||
) | ||
|
||
# - Direct deps | ||
|
||
bazel_dep( | ||
name = "apple_support", | ||
version = "1.14.0", | ||
repo_name = "build_bazel_apple_support", | ||
) | ||
bazel_dep( | ||
name = "rules_swift", | ||
version = "1.16.0", | ||
repo_name = "build_bazel_rules_swift", | ||
) | ||
bazel_dep( | ||
name = "rules_apple", | ||
version = "3.3.0", | ||
repo_name = "build_bazel_rules_apple", | ||
) | ||
|
||
################################################################################################## | ||
# The following deps are required to support the io_bazel dependency. | ||
# They match Bazel's own MODULE.bazel file as of this commit: | ||
# https://github.com/bazelbuild/bazel/blob/296af602cd2a27a9d10ce5f46c99b42b6ab4367b/MODULE.bazel | ||
# | ||
bazel_dep( | ||
name = "rules_java", | ||
version = "6.3.0", | ||
) | ||
bazel_dep( | ||
name = "rules_proto", | ||
version = "5.3.0-21.7", | ||
) | ||
bazel_dep( | ||
name = "protobuf", | ||
version = "21.7", | ||
repo_name = "com_google_protobuf", | ||
) | ||
bazel_dep( | ||
name = "rules_python", | ||
version = "0.24.0", | ||
) | ||
bazel_dep( | ||
name = "rules_cc", | ||
version = "0.0.8", | ||
) | ||
bazel_dep( | ||
name = "rules_license", | ||
version = "0.0.7", | ||
) | ||
bazel_dep( | ||
name = "rules_pkg", | ||
version = "0.7.0", | ||
) | ||
# End of io_bazel dependencies. | ||
################################################################################################## | ||
|
||
# - Development Deps | ||
|
||
bazel_dep( | ||
name = "buildifier_prebuilt", | ||
version = "6.0.0.1", | ||
dev_dependency = True, | ||
) | ||
bazel_dep( | ||
name = "swiftlint", | ||
version = "0.53.0", | ||
dev_dependency = True, | ||
) | ||
bazel_dep( | ||
name = "rules_xcodeproj", | ||
version = "1.13.0", | ||
dev_dependency = True, | ||
) | ||
|
||
# - Load module extensions | ||
|
||
non_bzlmod_enabled_deps = use_extension("//tools:non_bzlmod_enabled_deps.bzl", "non_bzlmod_enabled_deps") | ||
use_repo( | ||
non_bzlmod_enabled_deps, | ||
"io_bazel", | ||
) |
14 changes: 14 additions & 0 deletions
14
modules/swift_bep_parser/0.0.4/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,9 +1,9 @@ | ||
"""Defines the bzlmod module""" | ||
|
||
module( | ||
name = "swift_bep_parser", | ||
- version = "0.0.0", | ||
+ version = "0.0.4", | ||
bazel_compatibility = [ | ||
">=6.0.0", | ||
"<8.0.0", | ||
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
tasks: | ||
verify_build_targets: | ||
name: Verify Build targets on macOS | ||
platform: macos_arm64 | ||
bazel: "7.x" | ||
build_targets: | ||
- "@swift_bep_parser//SwiftBEPParser/Sources:SwiftBEPParser" | ||
build_flags: | ||
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-8s2k5+vZvXEE7T9qBgiFpJe/AV58LglYO7NuiWJzzXw=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/mattrobmattrob/swift-bep-parser/releases/download/0.0.4/swift-bep-parser.0.0.4.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-SypGp7z4fd9V0pdXExAIyPUpfqhXtxKt1VaGiTVWwsg=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"homepage": "https://github.com/mattrobmattrob/swift-bep-parser", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"name": "Matt Robinson", | ||
"github": "mattrobmattrob" | ||
} | ||
], | ||
"repository": [ | ||
"github:mattrobmattrob/swift-bep-parser" | ||
], | ||
"versions": [ | ||
"0.0.4" | ||
], | ||
"yanked_versions": {} | ||
} |