Skip to content

Commit

Permalink
Add cppitertools module (#2660)
Browse files Browse the repository at this point in the history
Co-authored-by: Udaya Prakash <udayaprakash2899@gmail.com>
FilipposSot and udaya2899 authored Sep 17, 2024
1 parent 8170968 commit 3b2ac81
Showing 5 changed files with 57 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/cppitertools/2.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module(
name = "cppitertools",
version = "2.1",
)
10 changes: 10 additions & 0 deletions modules/cppitertools/2.1/patches/add_module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/MODULE.bazel b/MODULE.bazel
new file mode 100644
index 00000000..ad9e02af
--- /dev/null
+++ b/MODULE.bazel
@@ -0,0 +1,4 @@
+module(
+ name = "cppitertools",
+ version = "2.1",
+)
17 changes: 17 additions & 0 deletions modules/cppitertools/2.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@cppitertools//:cppitertools'
9 changes: 9 additions & 0 deletions modules/cppitertools/2.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/ryanhaining/cppitertools/archive/refs/tags/v2.1.tar.gz",
"integrity": "sha256-97zUUx43CDYJu5LD8K4DtW5xlwAtDcnGlRBNzvRF8qs=",
"strip_prefix": "cppitertools-2.1",
"patches": {
"add_module_dot_bazel.patch": "sha256-E36LHzRhdbAcUu8PIiNTYxGZAFZsvNU9WSNcFOpvSC8="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/cppitertools/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/ryanhaining/cppitertools",
"maintainers": [
{
"email": "sotiropoulos@google.com",
"github": "FilipposSot",
"name": "Filippos Sotiropoulos"
}
],
"repository": [
"github:ryanhaining/cppitertools"
],
"versions": [
"2.1"
],
"yanked_versions": {}
}

0 comments on commit 3b2ac81

Please sign in to comment.