opam-version: "2.0"
maintainer: "Peter Zotov <whitequark@whitequark.org>"
authors: [ "Peter Zotov <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/whitequark/ppx_deriving_yojson"
doc: "http://whitequark.github.io/ppx_deriving_yojson"
bug-reports: "https://github.com/whitequark/ppx_deriving_yojson/issues"
dev-repo: "git://github.com/whitequark/ppx_deriving_yojson.git"
tags: [ "syntax" "json" ]
build: [
  ["ocaml" "pkg/build.ml" "native=true" "native-dynlink=true"]
  [
    "ocamlbuild"
    "-classic-display"
    "-use-ocamlfind"
    "src_test/test_ppx_yojson.byte"
    "--"
  ] {with-test}
  [make "doc"] {with-doc}
]
depends: [
  "ocaml"
  "yojson" {< "1.6.0"}
  "ppx_deriving" {>= "0.2" & < "1.0"}
  "ocamlbuild" {build}
  "ounit" {with-test & >= "2.0.0"}
  "ppx_import" {with-test & <= "1.5"}
]
synopsis: "JSON codec generator for OCaml >=4.02"
url {
  src:
    "https://github.com/whitequark/ppx_deriving_yojson/archive/v1.0.tar.gz"
  checksum: "md5=6aa7494bc8edf6799e2c14fd99431fd7"
}
