opam-version: "2.0"
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
authors: [ "Spiros Eliopoulos <spiros@inhabitedtype.com>" ]
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-webmachine"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-webmachine.git"
bug-reports: "https://github.com/inhabitedtype/ocaml-webmachine/issues"
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "ptime" {>= "0.8.0"}
  "cohttp" {>= "1.0.0"}
  "dispatch" {>= "0.3.0" & < "0.5.0"}
  "dune" {>= "1.0"}
  "ounit" {with-test & >= "1.0.2"}
  "re" {>= "1.7.2"}
]
synopsis: "A REST toolkit for OCaml"
description: """
OCaml webmachine is a layer on top of cohttp that implements a
state-machine-based HTTP request processor. It's particularly
well-suited for writing RESTful APIs. As the name suggests, this is an
OCaml port of the webmachine project.
"""
url {
  src: "https://github.com/inhabitedtype/ocaml-webmachine/archive/0.6.3.tar.gz"
  checksum: "md5=5d89acb6609336cf9ea84ad915778c12"
}
