opam-version: "2.0"
maintainer: "dev@ocsigen.org"
homepage: "https://github.com/ocsigen/tyxml/"
bug-reports: "https://github.com/ocsigen/tyxml/issues"
doc: "https://ocsigen.org/tyxml/manual/"
dev-repo: "git+https://github.com/ocsigen/tyxml.git"
license: "LGPL-2.1 with OCaml linking exception"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.02"}
  "dune"
  "alcotest" {with-test}
  "tyxml" {= version}
  "tyxml-syntax" {= version}
  "ppx_tools_versioned"
  "reason" {with-test}
]

synopsis:"JSX syntax to write TyXML documents"
description:"""

```reason
open Tyxml;
let to_reason = <a href="reasonml.github.io/"> "Reason!" </a>
```

Allow to write any TyXML documents with reason's JSX syntax, from textual trees
to reactive virtual DOM trees.
"""
authors: "The ocsigen team"
url {
  src:
    "https://github.com/ocsigen/tyxml/releases/download/4.4.0/tyxml-4.4.0.tbz"
  checksum: [
    "sha256=516394dd4a5c31726997c51d66aa31cacb91e3c46d4e16c7699130e204042530"
    "sha512=d5f2187f8410524cec7a14b28e8950837070eb0b6571b015dd06076c2841eb7ccaffa86d5d2307eaf1950ee62f9fb926477dac01c870d9c1a2f525853cb44d0c"
  ]
}
