No project description provided
Project description
zalfmas-capnp-schemas
Containerized Cap'n Proto schema compiler with C++ and Go (capnpc-go) support.
Build image
docker build -t capnp-gen .
Optional build arguments:
- CAPNP_VERSION (default 1.2.0)
- JOBS (parallel make jobs, default 6)
- CAPNPC_GO_PKG (Go plugin module path)
- CAPNPC_GO_VERSION (default latest)
Example:
docker build --build-arg CAPNP_VERSION=1.2.0 --build-arg JOBS=12 -t capnp-gen .
Basic usage
The image ENTRYPOINT is: python3 capnp_compile.py Default CMD: --lang c++ go
docker run --rm -u $(id -u):$(id -g) \
-v "$(pwd)":/workspace -w /workspace capnp-gen
Explicit (C++ + Go):
docker run --rm -u $(id -u):$(id -g) \
-v "$(pwd)":/workspace -w /workspace capnp-gen --lang c++ go
Notes
- Schemas must be available inside the mounted workspace (default: current directory).
- Generated code is written relative to /workspace (your mounted directory).
- capnpc-go is on PATH (installed in /usr/local/bin).
- Adjust UID/GID mapping with -u to avoid root-owned outputs.
Updating Go plugin only
Rebuild with a different CAPNPC_GO_VERSION:
docker build --build-arg CAPNPC_GO_VERSION=v3.0.0 -t capnp-gen .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zalfmas_capnp_schemas-0.1.37.tar.gz.
File metadata
- Download URL: zalfmas_capnp_schemas-0.1.37.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392fe6d74d314a08c584312985c3f2c4154f61281f6372b8464f0f0e953f522c
|
|
| MD5 |
0cada07878c4688a443463f9c93ee3da
|
|
| BLAKE2b-256 |
be86ab041fad15e64a35edc06d9ade04e7b054463f725053ca72206dbe26b266
|
Provenance
The following attestation bundles were made for zalfmas_capnp_schemas-0.1.37.tar.gz:
Publisher:
release.yaml on zalf-rpm/mas_capnproto_schemas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zalfmas_capnp_schemas-0.1.37.tar.gz -
Subject digest:
392fe6d74d314a08c584312985c3f2c4154f61281f6372b8464f0f0e953f522c - Sigstore transparency entry: 567891540
- Sigstore integration time:
-
Permalink:
zalf-rpm/mas_capnproto_schemas@351af254433912aa5d687679109d3303b3ef88fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zalf-rpm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@351af254433912aa5d687679109d3303b3ef88fb -
Trigger Event:
push
-
Statement type:
File details
Details for the file zalfmas_capnp_schemas-0.1.37-py3-none-any.whl.
File metadata
- Download URL: zalfmas_capnp_schemas-0.1.37-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
518ce8e02547b478719028fba85ad64e8dc079380223af9613cdfc83aa64a24b
|
|
| MD5 |
97241b2ec2025f511b87143884e81b7b
|
|
| BLAKE2b-256 |
a4469da54cc68a5b8b97e7284ade1bf2a682db5132e45b045b265c4f78faedde
|
Provenance
The following attestation bundles were made for zalfmas_capnp_schemas-0.1.37-py3-none-any.whl:
Publisher:
release.yaml on zalf-rpm/mas_capnproto_schemas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zalfmas_capnp_schemas-0.1.37-py3-none-any.whl -
Subject digest:
518ce8e02547b478719028fba85ad64e8dc079380223af9613cdfc83aa64a24b - Sigstore transparency entry: 567891547
- Sigstore integration time:
-
Permalink:
zalf-rpm/mas_capnproto_schemas@351af254433912aa5d687679109d3303b3ef88fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zalf-rpm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@351af254433912aa5d687679109d3303b3ef88fb -
Trigger Event:
push
-
Statement type: