opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/whitequark/ppx_deriving_protobuf"
doc: "https://whitequark.github.io/ppx_deriving_protobuf"
bug-reports: "https://github.com/whitequark/ppx_deriving_protobuf/issues"
dev-repo: "git+https://github.com/whitequark/ppx_deriving_protobuf.git"
tags: [ "syntax" ]
substs: [ "pkg/META" ]
build: [
  [
    "ocaml"
    "pkg/build.ml"
    "native=%{ocaml:native}%"
    "native-dynlink=%{ocaml:native-dynlink}%"
  ]
  [
    "ocamlbuild"
    "-classic-display"
    "-use-ocamlfind"
    "src_test/test_ppx_protobuf.byte"
    "--"
  ] {with-test}
  [make "doc"] {with-doc}
]
depends: [
  "ocaml" {>= "4.02.3" & < "4.06"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "cppo" {build}
  "cppo_ocamlbuild" {build}
  "ppx_deriving" {>= "3.2" & < "5.0"}
  "ounit" {with-test}
  "uint" {with-test}
]
synopsis: "A Protocol Buffers codec generator for OCaml >=4.02"
description: "A Protocol Buffers codec generator for OCaml >=4.02"
url {
  src:
    "https://github.com/whitequark/ppx_deriving_protobuf/archive/v2.5.tar.gz"
  checksum: "md5=2e3ba97f2354ba51cb470f899e3ccc25"
}
