diff --git a/modules/swxmlhash/7.0.2.1/MODULE.bazel b/modules/swxmlhash/7.0.2.1/MODULE.bazel new file mode 100644 index 00000000000..398914b1e3b --- /dev/null +++ b/modules/swxmlhash/7.0.2.1/MODULE.bazel @@ -0,0 +1,8 @@ +module( + name = "swxmlhash", + version = "7.0.2.1", + compatibility_level = 1, +) + +bazel_dep(name = "apple_support", version = "1.3.0") +bazel_dep(name = "rules_swift", version = "1.14.0", max_compatibility_level = 2) diff --git a/modules/swxmlhash/7.0.2.1/patches/add_build_file.patch b/modules/swxmlhash/7.0.2.1/patches/add_build_file.patch new file mode 100644 index 00000000000..230c214373f --- /dev/null +++ b/modules/swxmlhash/7.0.2.1/patches/add_build_file.patch @@ -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"], ++) diff --git a/modules/swxmlhash/7.0.2.1/patches/module_dot_bazel.patch b/modules/swxmlhash/7.0.2.1/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..25b733bbdc5 --- /dev/null +++ b/modules/swxmlhash/7.0.2.1/patches/module_dot_bazel.patch @@ -0,0 +1,11 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,8 @@ ++module( ++ name = "swxmlhash", ++ version = "7.0.2.1", ++ compatibility_level = 1, ++) ++ ++bazel_dep(name = "apple_support", version = "1.3.0") ++bazel_dep(name = "rules_swift", version = "1.14.0", max_compatibility_level = 2) diff --git a/modules/swxmlhash/7.0.2.1/presubmit.yml b/modules/swxmlhash/7.0.2.1/presubmit.yml new file mode 100644 index 00000000000..9c0dbba1fd2 --- /dev/null +++ b/modules/swxmlhash/7.0.2.1/presubmit.yml @@ -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" diff --git a/modules/swxmlhash/7.0.2.1/source.json b/modules/swxmlhash/7.0.2.1/source.json new file mode 100644 index 00000000000..4219f8a8663 --- /dev/null +++ b/modules/swxmlhash/7.0.2.1/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/drmohundro/SWXMLHash/archive/refs/tags/7.0.2.tar.gz", + "integrity": "sha256-19YA8GLWhAsDf8H7KsOvznocQ65DDXjiLXvW+OAs/J0=", + "strip_prefix": "SWXMLHash-7.0.2", + "patches": { + "add_build_file.patch": "sha256-5pHn+5q51/aanOaesI4fs+wcihKIsTPALKb9wUfJJxA=", + "module_dot_bazel.patch": "sha256-gayytaffOzM2NXKYLcKInKM4AY7FtSB8JAD09QGTvOY=" + }, + "patch_strip": 0 +} diff --git a/modules/swxmlhash/metadata.json b/modules/swxmlhash/metadata.json index 8fee4efb773..7763ca46657 100644 --- a/modules/swxmlhash/metadata.json +++ b/modules/swxmlhash/metadata.json @@ -17,7 +17,8 @@ ], "versions": [ "7.0.1", - "7.0.2" + "7.0.2", + "7.0.2.1" ], "yanked_versions": {} }