Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zalfmas_capnp_schemas-0.1.55.tar.gz (346.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zalfmas_capnp_schemas-0.1.55-py3-none-any.whl (383.2 kB view details)

Uploaded Python 3

File details

Details for the file zalfmas_capnp_schemas-0.1.55.tar.gz.

File metadata

  • Download URL: zalfmas_capnp_schemas-0.1.55.tar.gz
  • Upload date:
  • Size: 346.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zalfmas_capnp_schemas-0.1.55.tar.gz
Algorithm Hash digest
SHA256 1bb3a3260b8ee757ac507e6ce392569c511bb16659373b9b4606230e03cdadb6
MD5 3dc784baaac8047e54e2d94aa5c63e3d
BLAKE2b-256 8ac9e460721b5586ecc676438a918c4b224846493830a0c050adf2faa44d5ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for zalfmas_capnp_schemas-0.1.55.tar.gz:

Publisher: release.yaml on zalf-rpm/mas_capnproto_schemas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zalfmas_capnp_schemas-0.1.55-py3-none-any.whl.

File metadata

File hashes

Hashes for zalfmas_capnp_schemas-0.1.55-py3-none-any.whl
Algorithm Hash digest
SHA256 83db756b25604a345245be1a99d43b8febfa234e557ad1e8584ca5d471a3c394
MD5 72a912d5d00a66cfaf42ffb8ae7eb959
BLAKE2b-256 4b3eb73e69d3f86799085e33bbf90fcaa9823114f2277d4d9cac09159e48531a

See more details on using hashes here.

Provenance

The following attestation bundles were made for zalfmas_capnp_schemas-0.1.55-py3-none-any.whl:

Publisher: release.yaml on zalf-rpm/mas_capnproto_schemas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page