this repo has no description
1opam-version: "2.0" 2maintainer: "Issuu" 3authors: "Anders Fugmann <anders@fugmann.net>" 4license: "APACHE-2.0" 5homepage: "https://github.com/issuu/ocaml-protoc-plugin" 6dev-repo: "git+https://github.com/issuu/ocaml-protoc-plugin" 7bug-reports: "https://github.com/issuu/ocaml-protoc-plugin/issues" 8doc: "https://issuu.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 "dune" {>= "3.2"} 18 "ocaml" {>= "4.08.0"} 19 "ppx_expect" {with-test & < "v0.17"} 20 "ppx_inline_test" {with-test} 21 "ppx_deriving" {with-test} 22 "conf-pkg-config" {build} 23] 24 25 26synopsis: "Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file" 27 28description: """ The plugin generates ocaml type definitions, 29serialization and deserialization functions from a protobuf file. 30The types generated aims to create ocaml idiomatic types; 31- messages are mapped into modules 32- oneof constructs are mapped to polymorphic variants 33- enums are mapped to adt's 34- map types are mapped to assoc lists 35- all integer types are mapped to int by default (exact mapping is also possible) 36- all floating point types are mapped to float. 37- packages are mapped to nested modules 38""" 39url { 40 src: "https://github.com/issuu/ocaml-protoc-plugin/archive/4.3.1.tar.gz" 41 checksum: [ 42 "md5=a92c397b248e9128a0734f2d9c87b19e" 43 "sha512=7d143cfb3392500ee779d5bc0760b3e90055c090374e5449bc924cc30e8899f8c73c7d1f3c05e67cf99bb747f0c11ba21fbdf8ed637bcc3bc792a62c62dacec5" 44 ] 45}