Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored and aiuto committed Jun 3, 2024
1 parent f7f0ca4 commit 9d66e68
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/jsoncpp/1.9.5/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module(
name = "jsoncpp",
version = "1.9.5",
compatibility_level = 1,
)
15 changes: 15 additions & 0 deletions modules/jsoncpp/1.9.5/patches/build_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/BUILD.bazel b/BUILD.bazel
index 6d7ac3d..b013e4f 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -14,9 +14,9 @@ cc_library(
"include/json/allocator.h",
"include/json/assertions.h",
"include/json/config.h",
- "include/json/json_features.h",
"include/json/forwards.h",
"include/json/json.h",
+ "include/json/json_features.h",
"include/json/reader.h",
"include/json/value.h",
"include/json/version.h",
8 changes: 8 additions & 0 deletions modules/jsoncpp/1.9.5/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- a/MODULE.bazel
+++ a/MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "jsoncpp",
+ version = "1.9.5",
+ compatibility_level = 1,
+)
17 changes: 17 additions & 0 deletions modules/jsoncpp/1.9.5/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:
- '@jsoncpp//...'
10 changes: 10 additions & 0 deletions modules/jsoncpp/1.9.5/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz",
"integrity": "sha256-9AmFblkgwY0ML7hSduJO5gfSoJtefV8KNxNokDwnXaI=",
"strip_prefix": "jsoncpp-1.9.5",
"patches": {
"build_dot_bazel.patch": "sha256-Vj8diXSWps8I8h5cdEqBDYmKBA2ulvWxMZBEQlIgcpU=",
"module_dot_bazel.patch": "sha256-7RC7fS8N11vcyeDEaUZ05yBqr0YY7OzuzqaWz5W2XDo="
},
"patch_strip": 1
}
16 changes: 16 additions & 0 deletions modules/jsoncpp/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/open-source-parsers/jsoncpp",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:open-source-parsers/jsoncpp"
],
"versions": [
"1.9.5"
],
"yanked_versions": {}
}

0 comments on commit 9d66e68

Please sign in to comment.