Skip to content

Commit

Permalink
Add SWXMLHash 8.1.0 (#3416)
Browse files Browse the repository at this point in the history
SimplyDanny authored Dec 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2da0165 commit 338fe7e
Showing 6 changed files with 51 additions and 1 deletion.
8 changes: 8 additions & 0 deletions modules/swxmlhash/8.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module(
name = "swxmlhash",
version = "8.1.0",
compatibility_level = 1,
)

bazel_dep(name = "apple_support", version = "1.11.1")
bazel_dep(name = "rules_swift", version = "1.14.0", max_compatibility_level = 2)
11 changes: 11 additions & 0 deletions modules/swxmlhash/8.1.0/patches/add_build_file.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /dev/null
+++ BUILD.bazel
@@ -0,0 +1,8 @@
+load("@rules_swift//swift:swift.bzl", "swift_library")
+
+swift_library(
+ name = "SWXMLHash",
+ srcs = glob(["Source/**/*.swift"]),
+ module_name = "SWXMLHash",
+ visibility = ["//visibility:public"],
+)
11 changes: 11 additions & 0 deletions modules/swxmlhash/8.1.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "swxmlhash",
+ version = "8.1.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "apple_support", version = "1.11.1")
+bazel_dep(name = "rules_swift", version = "1.14.0", max_compatibility_level = 2)
9 changes: 9 additions & 0 deletions modules/swxmlhash/8.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tasks:
verify_targets:
name: Verify build targets
bazel: 7.x
platform: macos
build_targets:
- '@swxmlhash//:SWXMLHash'
build_flags:
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
10 changes: 10 additions & 0 deletions modules/swxmlhash/8.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/drmohundro/SWXMLHash/archive/refs/tags/8.1.0.tar.gz",
"integrity": "sha256-f46/+nI5S2kELPcr5lS8wpuBUvmsMgpN/imptu/ieVY=",
"strip_prefix": "SWXMLHash-8.1.0",
"patches": {
"add_build_file.patch": "sha256-5pHn+5q51/aanOaesI4fs+wcihKIsTPALKb9wUfJJxA=",
"module_dot_bazel.patch": "sha256-MiYpu9pkiiR+14FCj9LM9dso4kwoDeySW4IibV9F2Aw="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/swxmlhash/metadata.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,8 @@
"versions": [
"7.0.1",
"7.0.2",
"7.0.2.1"
"7.0.2.1",
"8.1.0"
],
"yanked_versions": {}
}

0 comments on commit 338fe7e

Please sign in to comment.