this repo has no description
1opam-version: "2.0"
2maintainer: "dev@ocsigen.org"
3homepage: "https://github.com/ocsigen/tyxml/"
4bug-reports: "https://github.com/ocsigen/tyxml/issues"
5doc: "https://ocsigen.org/tyxml/manual/"
6dev-repo: "git+https://github.com/ocsigen/tyxml.git"
7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8
9build: [
10 ["dune" "subst"] {dev}
11 ["dune" "build" "-p" name "-j" jobs]
12 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
13]
14
15depends: [
16 "ocaml" {>= "4.02" & < "5.0"}
17 "re" {>= "1.5.0"}
18 ("ocaml" {>= "4.07"} | "re" {>= "1.8.0"})
19 "dune"
20 "alcotest" {with-test}
21 "seq"
22 "uutf" {>= "1.0.0"}
23]
24
25synopsis:"TyXML is a library for building correct HTML and SVG documents"
26description:"""
27TyXML provides a set of convenient combinators that uses the OCaml
28type system to ensure the validity of the generated documents. TyXML
29can be used with any representation of HTML and SVG: the textual one,
30provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`)
31virtual DOM (`virtual-dom`) and reactive or replicated trees
32(`eliom`). You can also create your own representation and use it to
33instantiate a new set of combinators.
34
35```ocaml
36open Tyxml
37let to_ocaml = Html.(a ~a:[a_href "ocaml.org"] [txt "OCaml!"])
38```
39"""
40authors: "The ocsigen team"
41url {
42 src:
43 "https://github.com/ocsigen/tyxml/releases/download/4.3.0/tyxml-4.3.0.tbz"
44 checksum: [
45 "sha256=6e1bd76b184eb8bf43550138fa1e14f03b5761187ff38891179a36bdddbdbfc3"
46 "md5=fd834a567f813bf447cab5f4c3a723e2"
47 ]
48}