opam-version: "2.0"
maintainer:   "anil@recoil.org"
license:      "ISC"
homepage:     "https://github.com/mirage/ocaml-cow"
dev-repo: "git+https://github.com/mirage/ocaml-cow.git"
bug-reports:  "https://github.com/mirage/ocaml-cow/issues"
authors:  [
  "Anil Madhavapeddy"
  "Thomas Gazagnaire"
  "David Sheets"
  "Rudi Grinberg"
]
tags: [
  "org:mirage"
  "org:xapi-project"
  "www"
  "html"
  "xml"
  "css"
  "json"
  "markdown"
]

build: [
  [make "all"]
  [make "tests"] {with-test}
]
install: [make "install"]
remove: ["ocamlfind" "remove" "cow"]
depends: [
  "ocaml" {<"4.06.0"}
  "ocamlfind" {build}
  "dyntype" {>= "0.9.0"}
  "type_conv" {>= "108.07.00"}
  "ulex"
  "uri" {>= "1.3.9"}
  "xmlm" {>= "1.1.1"}
  "omd" {>= "0.8.2"}
  "ezjsonm" {>= "0.4.0"}
  "camlp4"
  "ounit" {with-test}
  "ocamlbuild" {build}
]
synopsis: "XML, JSON, HTML, CSS, and Markdown syntax and libraries"
description: """
Writing web-applications requires a lot of skills: HTML, CSS, XML,
JSON and Markdown, to name but a few! This library provides OCaml
syntax extensions for these web formats by:

* extending standard OCaml syntax with embedded web DSLs. It has a
  quotation mechanism which parses HTML, CSS or XML to OCaml, and
  also anti-quotations that form a template mechanism.

* using type-driven code generation to generate markup directly from
  OCaml type declarations. It is possible to mix hand-written and
  generated code to deal with special-cases. Most of the work is done
  at pre-processing time, so there is no runtime costs and the generated
  OCaml code can be manually inspected if desired.

More documentation at <https://github.com/mirage/ocaml-cow>."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-cow/archive/v1.2.2.tar.gz"
  checksum: "md5=95c1d58399ce7850149e0c4472a5b304"
}
