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 ["ocaml" "setup.ml" "-doc"] {with-doc}
28]
29install: ["ocaml" "setup.ml" "-install"]
30remove: [
31 ["ocamlfind" "remove" "dispatch"]
32]
33depends: [
34 "ocaml" {< "5.0"}
35 "ocamlfind" {build}
36 "ounit" {with-test & >= "1.0.2"}
37 "result"
38 "ocamlbuild" {build}
39]
40depopts: [
41 "js_of_ocaml"
42]
43conflicts: [
44 "js_of_ocaml" {>= "3.0"}
45]
46synopsis: "Path-based dispatching for client- and server-side applications."
47description: """
48Dispatch provides a basic mechanism for dispatching a request to a
49handler based on hierarchical path names conventionally found in URIs.
50It can be used both for dispatching requests in a server, as well as
51handing changes to hierarchical fragments in a client-side
52application."""
53flags: light-uninstall
54url {
55 src: "https://github.com/inhabitedtype/ocaml-dispatch/archive/0.3.0.tar.gz"
56 checksum: [
57 "sha256=ebb6bb60ec5a7c17a68711a801006f204b283989b5b9fa1dbe9bd781645f3913"
58 "md5=c3acb0ff3081e409565beb63b5447d9c"
59 ]
60}