opam-version: "2.0" maintainer: "Spiros Eliopoulos " authors: "Spiros Eliopoulos " homepage: "https://github.com/inhabitedtype/ocaml-webmachine" bug-reports: "https://github.com/inhabitedtype/ocaml-webmachine/issues" license: "BSD-3-Clause" dev-repo: "git+https://github.com/inhabitedtype/ocaml-webmachine.git" build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test} ["ocaml" "setup.ml" "-build"] {with-test} ["ocaml" "setup.ml" "-test"] {with-test} ["ocaml" "setup.ml" "-doc"] {with-doc} ] install: ["ocaml" "setup.ml" "-install"] remove: ["ocamlfind" "remove" "webmachine"] depends: [ "ocaml" {>= "4.02" & < "5.0"} "calendar" {>= "2.03.2"} "cohttp" {>= "0.21.0"} "dispatch" {>= "0.3.0" & < "0.5.0"} "ocamlfind" {build} "ocamlbuild" {build} "ounit" {with-test & >= "1.0.2"} "re" {>= "1.3.0"} ] 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.""" flags: light-uninstall url { src: "https://github.com/inhabitedtype/ocaml-webmachine/archive/0.4.0.tar.gz" checksum: [ "sha256=d0d20e41bcdf110cbabaac913c39d3a7b99002ceab403db7a76872558fec328d" "md5=362600d82e9aeb4808766baa7a3febde" ] }