this repo has no description
1opam-version: "2.0"
2maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
3authors: [ "Spiros Eliopoulos <spiros@inhabitedtype.com>" ]
4license: "BSD-3-Clause"
5homepage: "https://github.com/inhabitedtype/ocaml-dispatch"
6dev-repo: "git+https://github.com/inhabitedtype/ocaml-dispatch.git"
7bug-reports: "https://github.com/inhabitedtype/ocaml-dispatch/issues"
8build: [
9 [
10 "ocaml"
11 "setup.ml"
12 "-configure"
13 "--prefix"
14 prefix
15 "--%{js_of_ocaml:enable}%-js-of-ocaml"
16 ]
17 ["ocaml" "setup.ml" "-build"]
18 [
19 "ocaml"
20 "setup.ml"
21 "-configure"
22 "--enable-tests"
23 "--%{js_of_ocaml:enable}%-js-of-ocaml"
24 ] {with-test}
25 ["ocaml" "setup.ml" "-build"] {with-test}
26 ["ocaml" "setup.ml" "-test"] {with-test}
27]
28install: ["ocaml" "setup.ml" "-install"]
29remove: [
30 ["ocamlfind" "remove" "dispatch"]
31]
32depends: [
33 "ocaml" {< "5.0"}
34 "ocamlfind" {build}
35 "ounit" {with-test & >= "1.0.2"}
36 "result"
37 "ocamlbuild" {build}
38]
39depopts: [
40 "js_of_ocaml"
41]
42conflicts: [
43 "js_of_ocaml" {>= "3.0"}
44]
45synopsis: "Path-based dispatching for client- and server-side applications."
46description: """
47Dispatch provides a basic mechanism for dispatching a request to a
48handler based on hierarchical path names conventionally found in URIs.
49It can be used both for dispatching requests in a server, as well as
50handing changes to hierarchical fragments in a client-side
51application."""
52flags: light-uninstall
53url {
54 src: "https://github.com/inhabitedtype/ocaml-dispatch/archive/0.2.0.tar.gz"
55 checksum: [
56 "sha256=f9f32c27c8990fe0c18953efbcaa9cffa4daa808508e910164b91fe62329059a"
57 "md5=7739fedc765a26cdc67c2714a7789f18"
58 ]
59}