this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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)

authored by

Anil Madhavapeddy and committed by
GitHub
d14ea7d1 13fb16b0

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