opam-version: "2.0" maintainer: "Maxime Ransan " authors: "Maxime Ransan " homepage: "https://github.com/mransan/ocaml-protoc" bug-reports: "https://github.com/mransan/ocaml-protoc/issues" license: "MIT" dev-repo: "git+https://github.com/mransan/ocaml-protoc.git" build: [ [make "lib.byte"] [make "lib.native"] {ocaml:native} [make "bin.byte"] {!ocaml:native} [make "bin.native"] {ocaml:native} ] install: [ [make "lib.install"] [make "bin.install" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"] ] remove: [make "uninstall" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"] depends: [ "ocaml" {< "5.0"} "ocamlfind" {build} "ocamlbuild" {build} "ppx_deriving_protobuf" ] synopsis: "A Protobuf Compiler for OCaml" description: "'ocaml-protoc' is a compiler of Protobuf file (.proto) to OCaml code. The compiler generate OCaml types with associated decoding/encoding functions following the Protobuf format." url { src: "https://github.com/mransan/ocaml-protoc/archive/1.0.4.tar.gz" checksum: [ "sha256=18fba70d6051eaea8f41a9888cd3c5cf8096190704c4c0b26bd1bbe9843ecb79" "md5=f68d13ee66b2947d2715275390655d41" ] }