/
opam
33 lines (33 loc) · 1.28 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
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>" ]
tags: [ "web" "template" ]
license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/Chris00/weberizer"
dev-repo: "git+https://github.com/Chris00/weberizer.git"
bug-reports: "https://github.com/Chris00/weberizer/issues"
doc: "https://Chris00.github.io/weberizer/doc"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.03"}
"dune"
"ocamlnet"
]
synopsis: "Compile HTML templates into OCaml modules"
description: """
Weberizer is a simple templating engine for OCaml. It compiles the
template to an OCaml module, providing an easy way to set the
variables and render the template. String values are automatically
escaped according to the context of the template in which they appear.
You can add you own functions to the generated module — for example to
set several related variables at once (you can also hide those
variables from the interface if desired)."""
url {
src:
"https://github.com/Chris00/weberizer/releases/download/0.8/weberizer-0.8.tbz"
checksum: "md5=382777e802ce2e7d207b12167eaf5644"
}