-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
70 lines (70 loc) · 1.84 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
opam-version: "2.0"
maintainer: "dev@ocsigen.org"
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"
"--%{markup+ppx_tools:enable}%-ppx"
"--prefix"
prefix
]
["ocaml" "setup.ml" "-build"]
[
"ocaml"
"setup.ml"
"-configure"
"--%{camlp4:enable}%-syntax"
"--%{markup+ppx_tools:enable}%-ppx"
"--enable-tests"
"--prefix"
prefix
] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "tyxml"]
depends: [
"ocaml" {>= "4.02" & < "5.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"uutf" {<= "0.9.4"}
"base-bytes"
"re" {>= "1.5.0"}
"alcotest" {with-test}
]
depopts: [
"camlp4"
"markup"
"ppx_tools"
]
conflicts: [
"ppx_tools" { < "5.0" }
]
messages: [
"For tyxml's ppx, please install tyxml-ppx."
{!markup:installed | !ppx_tools:installed}
]
synopsis:
"TyXML is a library for building statically correct 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 ppx syntax extension.
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."""
authors: "The ocsigen team"
flags: light-uninstall
url {
src: "https://github.com/ocsigen/tyxml/archive/4.0.0.tar.gz"
checksum: [
"sha256=1ec7d175d0ad22290c06d1872e869444415edcc04bfa75b993f8ac2db84eb1de"
"md5=0245bc3e0011732eff14ff10ec933046"
]
}