opam-version: "2.0"
synopsis: "Compiler from OCaml bytecode to JavaScript"
description:
  "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js"
maintainer: ["Ocsigen team <dev@ocsigen.org>"]
authors: ["Ocsigen team <dev@ocsigen.org>"]
license: [
  "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
]
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
depends: [
  "dune" {>= "3.19"}
  "ocaml" {>= "4.13" & < "5.5"}
  "num" {with-test}
  "ppx_expect" {>= "v0.16.1" & with-test}
  "ppxlib" {>= "0.35"}
  "re" {with-test}
  "cmdliner" {>= "1.1.0"}
  "sedlex" {>= "3.3"}
  "qcheck" {with-test}
  "menhir"
  "menhirLib"
  "menhirSdk"
  "yojson" {>= "2.1"}
  "odoc" {with-doc}
]
depopts: ["ocamlfind"]
conflicts: [
  "ocamlfind" {< "1.5.1"}
  "js_of_ocaml" {< "3.0"}
]
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
x-maintenance-intent: ["(latest)"]
build: [
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@doc" {with-doc}
  ]
]
url {
  src:
    "https://github.com/ocsigen/js_of_ocaml/releases/download/6.1.1/js_of_ocaml-6.1.1.tbz"
  checksum: [
    "sha256=d31da41aae61c02aaa8b4d504e4e93705233d303cd81a07bb4ac5eedb03d6014"
    "sha512=207c6c80447a79fa13e5dbd6baf2837ec91b9d81952328ae91c3496ca30f095fce49faa09af8125602f1ae6f2f6e0c391178454dcb39b9907b5a3712bad3fcee"
  ]
}
x-commit-hash: "104e924016a22ed91495fc776eba035b4dfca6f7"
