-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
47 lines (43 loc) · 1.5 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
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-only WITH OCaml-LGPL-linking-exception"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.02"}
"dune"
"alcotest" {with-test}
"seq"
"uutf" {>= "1.0.0"}
"re" {>= "1.5.0"}
]
synopsis:"TyXML is a library for building correct HTML and SVG documents"
description:"""
TyXML provides a set of convenient combinators that uses the OCaml
type system to ensure the validity of the generated documents. TyXML
can be used with any representation of HTML and SVG: the textual one,
provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`)
virtual DOM (`virtual-dom`) and reactive or replicated trees
(`eliom`). You can also create your own representation and use it to
instantiate a new set of combinators.
```ocaml
open Tyxml
let to_ocaml = Html.(a ~a:[a_href "ocaml.org"] [txt "OCaml!"])
```
"""
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"
]
}