opam-version: "2.0"
maintainer: "dev@ocsigen.org"
authors: "The ocsigen team"
homepage: "https://ocsigen.org/tyxml/"
bug-reports: "https://github.com/ocsigen/tyxml/issues"
doc: "https://ocsigen.org/tyxml/manual/"
dev-repo: "git+https://github.com/ocsigen/tyxml.git"
build: [
  ["ocaml" "setup.ml" "-configure"
      "--%{camlp4:enable}%-syntax"
      "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "tyxml"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "uutf" {<= "0.9.4"}
  "base-bytes"
  "ocamlbuild" {build}
]
depopts: "camlp4"
synopsis: "A simple library for building valid HTML5 and SVG documents."
description: """
TyXML allows you to build HTML5 and SVG trees whose validity is ensured by the typechecker.
It provides a printer for said XML trees, along with a syntax extensions.
Finally it also provides a functorial interface to choose your XML datastructure.
It's part of the ocsigen project and is used in js_of_ocaml and eliom."""
flags: light-uninstall
url {
  src: "https://github.com/ocsigen/tyxml/archive/3.5.0.tar.gz"
  checksum: "md5=8207a40c70c36a7f81ed56474aa0e03e"
}
