this repo has no description
1opam-version: "2.0"
2maintainer: "Maxime Ransan <maxime.ransan@gmail.com>"
3authors: [
4 "Maxime Ransan <maxime.ransan@gmail.com>"
5]
6homepage: "https://github.com/mransan/ocaml-protoc"
7bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
8license: "MIT"
9dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
10build: [
11 [make "lib.byte"]
12 [make "lib.native"] {ocaml:native}
13 [make "bin.byte"] {!ocaml:native}
14 [make "bin.native"] {ocaml:native}
15]
16install: [
17 [make "lib.install"]
18 [make "bin.install" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"]
19]
20remove: [make "uninstall" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"]
21depends: [
22 "ocaml" {< "5.0"}
23 "ocamlfind" {build}
24 "ocamlbuild" {build}
25 "ppx_deriving_protobuf"
26]
27synopsis: "A Protobuf Compiler for OCaml"
28description: """
29'ocaml-protoc' is a compiler of Protobuf file (.proto) to OCaml code.
30The compiler generate OCaml types with associated decoding/encoding functions following the Protobuf format."""
31url {
32 src: "https://github.com/mransan/ocaml-protoc/archive/0.1.2.1.tar.gz"
33 checksum: [
34 "sha256=f1f8ef65fdd1b96e87f54b22742dcd97c8497d85414838d807631f4a46abaed5"
35 "md5=f944b45ebc78a663770e6ff765c5f07c"
36 ]
37}