this repo has no description
1opam-version: "2.0"
2maintainer: "dev@ocsigen.org"
3homepage: "https://ocsigen.org/tyxml/"
4bug-reports: "https://github.com/ocsigen/tyxml/issues"
5doc: "https://ocsigen.org/tyxml/manual/"
6dev-repo: "git+https://github.com/ocsigen/tyxml.git"
7build: [
8 [
9 "ocaml"
10 "setup.ml"
11 "-configure"
12 "--%{camlp4:enable}%-syntax"
13 "--%{markup+ppx_tools_versioned:enable}%-ppx"
14 "--prefix"
15 prefix
16 ]
17 ["ocaml" "setup.ml" "-build"]
18 [
19 "ocaml"
20 "setup.ml"
21 "-configure"
22 "--%{camlp4:enable}%-syntax"
23 "--%{markup+ppx_tools_versioned:enable}%-ppx"
24 "--enable-tests"
25 "--prefix"
26 prefix
27 ] {with-test}
28 ["ocaml" "setup.ml" "-build"] {with-test}
29 ["ocaml" "setup.ml" "-test"] {with-test}
30 ["ocaml" "setup.ml" "-doc"] {with-doc}
31]
32install: ["ocaml" "setup.ml" "-install"]
33remove: ["ocamlfind" "remove" "tyxml"]
34depends: [
35 "ocaml" {>= "4.02" & < "5.0"}
36 "ocamlfind" {build}
37 "ocamlbuild" {build}
38 "uchar"
39 "uutf" {>= "1.0.0"}
40 "base-bytes"
41 "re" {>= "1.5.0"}
42 "alcotest" {with-test}
43]
44depopts: [
45 "camlp4"
46 "markup"
47 "ppx_tools_versioned"
48]
49messages: [
50 "For tyxml's ppx, please install tyxml-ppx."
51 {!markup:installed | !ppx_tools_versioned:installed}
52 "Tyxml's camlp4-based libraries (tyxml.syntax and tyxml.parser) are now deprecated and will be removed in the next major version."
53 {camlp4:installed}
54]
55synopsis:
56 "TyXML is a library for building statically correct HTML5 and SVG documents"
57description: """
58TyXML allows you to build HTML5 and SVG trees whose validity is ensured by the typechecker.
59It provides a printer for said XML trees, along with a ppx syntax extension.
60Finally it also provides a functorial interface to choose your XML datastructure.
61It's part of the ocsigen project and is used in js_of_ocaml and eliom."""
62authors: "The ocsigen team"
63flags: light-uninstall
64url {
65 src: "https://github.com/ocsigen/tyxml/archive/4.2.0.tar.gz"
66 checksum: [
67 "sha256=cda9dda443d479fadd1f4b8f882aef2a78c6e7ca7cbc95d886dfc5743f86ff9a"
68 "md5=c802f3c7036adcea3fc00398c23d1b2b"
69 ]
70}
71extra-source "tyxml.install" {
72 src:
73 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/tyxml/tyxml.install"
74 checksum: [
75 "sha256=d140aef43628b913edd3db64b57ae904622cbfa540a4a86bf766cbb4f4b94eb1"
76 "md5=c5877ac0f3060afc7dbbb9ac65f76e0a"
77 ]
78}