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: 41 "https://github.com/issuu/ocaml-protoc-plugin/archive/refs/tags/4.5.0.tar.gz" 42 checksum: [ 43 "md5=c374c68c6c2552c2c25484c2edbc9f6a" 44 "sha512=85f77afe95e56a90aabb037b4a96ddb903ee5d2732552838da3e22de6a4189bdd8c22a380e2489e99b85041a204c2cdda88568742cece012958f23c802b5c370" 45 ] 46}