Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (54 sloc) 1.65 KB
opam-version: "2.0"
maintainer: "rudi.grinberg@gmail.com"
authors: ["Rudi Grinberg"]
license: "MIT"
homepage: "https://github.com/rgrinberg/opium"
bug-reports: "https://github.com/rgrinberg/opium/issues"
dev-repo: "git+https://github.com/rgrinberg/opium.git"
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure"]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["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" "opium_rock"]
["ocamlfind" "remove" "opium"]
]
depends: [
"ocaml" {>= "4.01.0"}
"ocamlfind" {build}
"oasis" {build}
"cohttp" {>= "0.15.0"}
"ezjsonm" {>= "0.4.0"}
"base64" {>= "2.0.0" & < "3.0.0"}
"lwt"
"core_kernel" {< "v0.13"}
"cmdliner"
"fieldslib" {< "113.01.00"}
"sexplib" {< "113.01.00"}
"re" {>= "1.3.0"}
"magic-mime"
"ounit" {with-test}
"cow" {with-test & >= "0.10.0"}
"ocamlbuild" {build}
]
synopsis: "Sinatra like web toolkit based on Lwt + Cohttp"
description: """
Opium is a minimalistic library for quickly binding functions
to http routes. Its features include (but not limited to):
* Middleware system for app independent components
* A simple router for matching urls and parsing parameters
* Request/Response pretty printing for easier debugging
Note: This library is still at an early stage so expect breakages
until 1.0"""
flags: light-uninstall
url {
src: "https://github.com/rgrinberg/opium/archive/v0.13.3.tar.gz"
checksum: "md5=ec186cb3700f943655b57913d1098b3e"
}
You can’t perform that action at this time.