opam-version: "2.0"
maintainer:   "dev@ocsigen.org"
authors:      "Ocsigen team"
bug-reports:  "https://github.com/ocsigen/js_of_ocaml/issues"
homepage:     "http://ocsigen.org/js_of_ocaml"
dev-repo:     "git+https://github.com/ocsigen/js_of_ocaml.git"


build: [["jbuilder" "build" "-p" name "-j" jobs]]

depends: [
  "ocaml" {>= "4.02.0" & < "4.08.0"}
  "jbuilder" {>= "1.0+beta12"}
  "ocaml-migrate-parsetree" {< "2.0.0"}
  "ppx_tools_versioned"
  "js_of_ocaml" {= version}
]
depopts: ["ppx_deriving" "ppx_tools"]

conflicts: [
  "ppx_tools_versioned"     {<="5.0beta0"}
  "ppx_deriving" {>"4.2"}
]

synopsis: "Compiler from OCaml bytecode to Javascript"
url {
  src: "https://github.com/ocsigen/js_of_ocaml/archive/3.0.1.tar.gz"
  checksum: "md5=6c8583de8d3de628c71253c8cc7b57d1"
}
