this repo has no description
1opam-version: "2.0"
2maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
3authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>" ]
4tags: [ "web" "template" ]
5license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
6homepage: "https://github.com/Chris00/weberizer"
7dev-repo: "git+https://github.com/Chris00/weberizer.git"
8bug-reports: "https://github.com/Chris00/weberizer/issues"
9doc: "https://Chris00.github.io/weberizer/doc"
10build: [
11 ["dune" "subst"] {dev}
12 ["dune" "build" "-p" name "-j" jobs]
13 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
14]
15depends: [
16 "ocaml" {>= "4.03"}
17 "dune"
18 "ocamlnet"
19]
20synopsis: "Compile HTML templates into OCaml modules"
21description: """
22Weberizer is a simple templating engine for OCaml. It compiles the
23template to an OCaml module, providing an easy way to set the
24variables and render the template. String values are automatically
25escaped according to the context of the template in which they appear.
26You can add you own functions to the generated module — for example to
27set several related variables at once (you can also hide those
28variables from the interface if desired)."""
29url {
30 src:
31 "https://github.com/Chris00/weberizer/releases/download/0.8/weberizer-0.8.tbz"
32 checksum: [
33 "sha256=682f207f8b48a686e5bd0b7878845195f7ccf538e631e9fe5ee649d9f4b5ecbe"
34 "md5=382777e802ce2e7d207b12167eaf5644"
35 ]
36}