31 lines
1 KiB
Text
31 lines
1 KiB
Text
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.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: "git+https://github.com/roburio/ocaml-webmachine.git#webdav"
|
|
}
|