this repo has no description

Merge pull request #25739 from andersfugmann/release-ocaml-protoc-plugin-6.1.0

[new release] ocaml-protoc-plugin (6.1.0) and conf-protoc-dev (1.0.0)

Changed files
+100
packages
conf-protoc-dev
conf-protoc-dev.1.0.0
ocaml-protoc-plugin
ocaml-protoc-plugin.6.1.0
+37
packages/conf-protoc-dev/conf-protoc-dev.1.0.0/opam
···
+
opam-version: "2.0"
+
maintainer: "Anders Fugmann"
+
authors: "Google"
+
license: "BSD-3-Clause"
+
homepage: "https://developers.google.com/protocol-buffers/"
+
bug-reports: "https://github.com/protocolbuffers/protobuf/issues"
+
dev-repo: "git+https://github.com/protocolbuffers/protobuf.git"
+
+
depends: [
+
"conf-pkg-config"
+
]
+
+
depexts: [
+
["libprotoc-dev"] {os-family = "debian"}
+
["libprotoc-dev"] {os-family = "ubuntu"}
+
["lib64protobuf-devel"] {os-distribution = "mageia"}
+
["protobuf-devel"] {os-distribution = "centos"}
+
["protobuf-devel"] {os-distribution = "fedora"}
+
["protobuf-devel"] {os-distribution = "rhel"}
+
["protobuf-dev"] {os-family = "alpine"}
+
["protobuf"] {os-family = "arch"}
+
["protobuf-devel"] {os-family = "suse"}
+
["protobuf"] {os = "freebsd"}
+
["protobuf"] {os = "macos" & os-distribution = "homebrew"}
+
]
+
+
x-ci-accept-failures: [
+
"oraclelinux-7" # Package not available by default
+
"oraclelinux-8" # Package not available by default
+
"oraclelinux-9" # Package not available by default
+
]
+
+
available: (os-distribution != "ubuntu" | os-version >= "18.04") & (os-distribution != "centos" | os-version >= "8")
+
synopsis: "Virtual package to install protobuf cpp headers"
+
description:
+
"This package will install c header files and libaries for google protocol buffers via `opam depext`"
+
flags: conf
+63
packages/ocaml-protoc-plugin/ocaml-protoc-plugin.6.1.0/opam
···
+
opam-version: "2.0"
+
maintainer: "Anders Fugmann"
+
authors: "Anders Fugmann <anders@fugmann.net>"
+
license: "APACHE-2.0"
+
homepage: "https://github.com/andersfugmann/ocaml-protoc-plugin"
+
dev-repo: "git+https://github.com/andersfugmann/ocaml-protoc-plugin"
+
bug-reports: "https://github.com/andersfugmann/ocaml-protoc-plugin/issues"
+
doc: "https://andersfugmann.github.io/ocaml-protoc-plugin/"
+
build: [
+
["dune" "subst"] {dev}
+
["dune" "build" "-p" name "-j" jobs]
+
["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "arm32" & arch != "x86_32"}
+
]
+
+
depends: [
+
"conf-protoc" {>= "1.0.0"}
+
"conf-pkg-config"
+
"conf-protoc-dev" {with-test}
+
"dune" {>= "3.12"}
+
"ocaml" {>= "4.08.0"}
+
"ppx_expect"
+
"ppx_inline_test"
+
"ppx_deriving" {with-test}
+
"bisect_ppx" {with-test}
+
"odoc" {with-doc}
+
"conf-pkg-config" {build}
+
"dune-configurator" {with-test}
+
"yojson" {with-test}
+
"base64" {>= "3.1.0"}
+
"ptime"
+
]
+
+
x-ci-accept-failures: [
+
"opensuse-15.5" # Error during linking (exit code 1)
+
"macos-homebrew" # C++ versions less than C++14 are not supported.
+
]
+
+
synopsis: "Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file"
+
+
description: """ The plugin generates ocaml type definitions,
+
serialization and deserialization functions from a protobuf file.
+
The types generated aims to create ocaml idiomatic types;
+
- messages are mapped into modules
+
- oneof constructs are mapped to polymorphic variants
+
- enums are mapped to adt's
+
- map types are mapped to assoc lists
+
- all integer types are mapped to int by default (exact mapping is also possible)
+
- all floating point types are mapped to float.
+
- packages are mapped to nested modules
+
+
The package aims to be a 100% compliant protobuf implementation.
+
It also includes serializing to and from json (Yojson format) based on
+
protobuf json specification
+
"""
+
url {
+
src:
+
"https://github.com/andersfugmann/ocaml-protoc-plugin/releases/download/6.1.0/ocaml-protoc-plugin-6.1.0.tbz"
+
checksum: [
+
"sha256=6254d1c7bf9e41f5fd52c1cf53f3dea93d302ed38cfaf604e8360601a368c57b"
+
"sha512=aa81ac6eacbf0dd6fea07c3e9e2eb0aebc8031853ef1cad770497501a2222794c61a1dca9f6b6711039fb49474e55daebf4ad73be9191d6a585f57de3e2d816b"
+
]
+
}
+
x-commit-hash: "59227ab995faca3db2b98b9b95f71a6b55a051ec"