this repo has no description
1opam-version: "2.0" 2maintainer: "Anders Fugmann" 3authors: "Anders Fugmann <anders@fugmann.net>" 4license: "APACHE-2.0" 5homepage: "https://github.com/andersfugmann/ocaml-protoc-plugin" 6dev-repo: "git+https://github.com/andersfugmann/ocaml-protoc-plugin" 7bug-reports: "https://github.com/andersfugmann/ocaml-protoc-plugin/issues" 8doc: "https://andersfugmann.github.io/ocaml-protoc-plugin/" 9build: [ 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 15depends: [ 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 38synopsis: "Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file" 39 40description: """ The plugin generates ocaml type definitions, 41serialization and deserialization functions from a protobuf file. 42The 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 51The package aims to be a 100% compliant protobuf implementation. 52It also includes serializing to and from json (Yojson format) based on 53protobuf json specification 54""" 55url { 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} 63x-commit-hash: "59227ab995faca3db2b98b9b95f71a6b55a051ec"