-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@PetteriAimonen FYI, adding the new release to the BCR.
- Loading branch information
Showing
5 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module( | ||
name = "nanopb", | ||
version = "0.4.9.1", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.7.1") | ||
bazel_dep(name = "rules_cc", version = "0.0.10") | ||
bazel_dep(name = "rules_python", version = "0.35.0") | ||
bazel_dep(name = "rules_proto", version = "6.0.2") | ||
bazel_dep(name = "protobuf", version = "28.2") | ||
bazel_dep(name = "rules_proto_grpc", version = "5.0.0") | ||
|
||
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") | ||
|
||
python = use_extension("@rules_python//python/extensions:python.bzl", "python") | ||
|
||
PYTHON_VERSION = "3.11" | ||
|
||
# No need for this since rules_python already creates our version. | ||
# python.toolchain(python_version = PYTHON_VERSION) | ||
use_repo(python, "python_versions") | ||
|
||
use_repo(pip, "nanopb_pypi") | ||
pip.parse( | ||
hub_name = "nanopb_pypi", | ||
python_version = PYTHON_VERSION, | ||
requirements_lock = "@nanopb//:extra/requirements_lock.txt", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
index 8aaa68e..91487ee 100644 | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,6 +1,6 @@ | ||
module( | ||
name = "nanopb", | ||
- version = "0.4.9", | ||
+ version = "0.4.9.1", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.7.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_targets: | ||
- '@nanopb' | ||
- '@nanopb//:protoc-gen-nanopb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"url": "https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.9.1.tar.gz", | ||
"integrity": "sha256-iCzYRzrZMrJHh+Z2qAjk+ynBLghtILy/usxmwYMJS1w=", | ||
"strip_prefix": "nanopb", | ||
"patches": { | ||
"bazel.patch": "sha256-ViUhBWdXZjM6SEG48qVxDtgilCXPqtLLgDfHu+2rykk=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ | |
"https://jpa.kapsi.fi/nanopb" | ||
], | ||
"versions": [ | ||
"0.4.9" | ||
"0.4.9", | ||
"0.4.9.1" | ||
], | ||
"yanked_versions": {} | ||
} |