diff --git a/modules/zstr/1.0.7/MODULE.bazel b/modules/zstr/1.0.7/MODULE.bazel new file mode 100644 index 00000000000..04cb93c571c --- /dev/null +++ b/modules/zstr/1.0.7/MODULE.bazel @@ -0,0 +1,5 @@ +module( + name = "zstr", + version = "1.0.7", + compatibility_level = 1, +) diff --git a/modules/zstr/1.0.7/overlay/BUILD.bazel b/modules/zstr/1.0.7/overlay/BUILD.bazel new file mode 100644 index 00000000000..fb6a67955cd --- /dev/null +++ b/modules/zstr/1.0.7/overlay/BUILD.bazel @@ -0,0 +1,10 @@ +# Description: +# A C++ ZLib wrapper + +cc_library( + name = "zstr", + hdrs = glob(["src/*.hpp"]), + includes = ["src"], + visibility = ["//visibility:public"], +) + diff --git a/modules/zstr/1.0.7/overlay/MODULE.bazel b/modules/zstr/1.0.7/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/zstr/1.0.7/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/zstr/1.0.7/presubmit.yml b/modules/zstr/1.0.7/presubmit.yml new file mode 100644 index 00000000000..d10cdb3547c --- /dev/null +++ b/modules/zstr/1.0.7/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 8.x + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@zstr//...' diff --git a/modules/zstr/1.0.7/source.json b/modules/zstr/1.0.7/source.json new file mode 100644 index 00000000000..05c1b42b3fe --- /dev/null +++ b/modules/zstr/1.0.7/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/mateidavid/zstr/archive/refs/tags/v1.0.7.tar.gz", + "integrity": "sha256-jS3a5o/3vQpvzmFQqPUq2c4b7SxAVsiEb03sTy3GCBk=", + "strip_prefix": "zstr-1.0.7", + "patch_strip": 1, + "overlay": { + "BUILD.bazel": "sha256-IuZA1L1U5WfVSWrXYMfOSvO80dJ2jhYOumqv5V29blY=", + "MODULE.bazel": "sha256-dQC8OzVn+p1A614brDrzPncxmavEOEpzNQikYVRywGQ=" + } +} diff --git a/modules/zstr/metadata.json b/modules/zstr/metadata.json new file mode 100644 index 00000000000..7e71dad0b04 --- /dev/null +++ b/modules/zstr/metadata.json @@ -0,0 +1,16 @@ +{ + "homepage": "https://github.com/mateidavid/zstr", + "maintainers": [ + { + "email": "bcr-maintainers@bazel.build", + "name": "No Maintainer Specified" + } + ], + "repository": [ + "github:mateidavid/zstr" + ], + "versions": [ + "1.0.7" + ], + "yanked_versions": {} +}