opam-version: "2.0" maintainer: "Spiros Eliopoulos " authors: [ "Spiros Eliopoulos " ] license: "BSD-3-Clause" homepage: "https://github.com/inhabitedtype/ocaml-dispatch" dev-repo: "git+https://github.com/inhabitedtype/ocaml-dispatch.git" bug-reports: "https://github.com/inhabitedtype/ocaml-dispatch/issues" build: [ [ "ocaml" "setup.ml" "-configure" "--prefix" prefix "--%{js_of_ocaml:enable}%-js-of-ocaml" ] ["ocaml" "setup.ml" "-build"] [ "ocaml" "setup.ml" "-configure" "--enable-tests" "--%{js_of_ocaml:enable}%-js-of-ocaml" ] {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" "dispatch"] ] depends: [ "ocaml" {< "5.0"} "ocamlfind" {build} "ounit" {with-test & >= "1.0.2"} "result" "ocamlbuild" {build} ] depopts: [ "js_of_ocaml" ] conflicts: [ "js_of_ocaml" {>= "3.0"} ] synopsis: "Path-based dispatching for client- and server-side applications." description: """ Dispatch provides a basic mechanism for dispatching a request to a handler based on hierarchical path names conventionally found in URIs. It can be used both for dispatching requests in a server, as well as handing changes to hierarchical fragments in a client-side application.""" flags: light-uninstall url { src: "https://github.com/inhabitedtype/ocaml-dispatch/archive/0.3.0.tar.gz" checksum: [ "sha256=ebb6bb60ec5a7c17a68711a801006f204b283989b5b9fa1dbe9bd781645f3913" "md5=c3acb0ff3081e409565beb63b5447d9c" ] }