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-session"
6dev-repo: "git+https://github.com/inhabitedtype/ocaml-session.git"
7bug-reports: "https://github.com/inhabitedtype/ocaml-session/issues"
8build: [
9 [
10 "ocaml"
11 "setup.ml"
12 "-configure"
13 "--prefix"
14 prefix
15 "--%{webmachine:enable}%-webmachine"
16 "--%{postgresql:enable}%-postgresql"
17 "--%{redis-lwt:enable}%-redis"
18 "--%{lwt:enable}%-lwt"
19 "--%{cohttp:enable}%-cohttp"
20 "--%{async:enable}%-async"
21 ]
22 ["ocaml" "setup.ml" "-build"]
23 [
24 "ocaml"
25 "setup.ml"
26 "-configure"
27 "--enable-tests"
28 "--%{webmachine:enable}%-webmachine"
29 "--%{postgresql:enable}%-postgresql"
30 "--%{redis-lwt:enable}%-redis"
31 "--%{lwt:enable}%-lwt"
32 "--%{cohttp:enable}%-cohttp"
33 "--%{async:enable}%-async"
34 ] {with-test}
35 ["ocaml" "setup.ml" "-build"] {with-test}
36 ["ocaml" "setup.ml" "-test"] {with-test}
37 ["ocaml" "setup.ml" "-doc"] {with-doc}
38]
39install: ["ocaml" "setup.ml" "-install"]
40remove: [
41 ["ocamlfind" "remove" "session"]
42]
43depends: [
44 "ocaml"
45 "nocrypto"
46 "ocamlfind" {build}
47 "ocamlbuild" {build}
48 "ounit" {with-test & >= "1.0.2"}
49 "result"
50]
51depopts: [
52 "async"
53 "base-threads"
54 "cohttp"
55 "postgresql"
56 # If session ever switches to jbuilder, then this constraint should turn into
57 # something along the lines of the following constraint in
58 # session-redis-lwt.opam:
59 #
60 # depends: [
61 # ...
62 # ("redis-lwt" | ("redis" & "lwt"))
63 # ...
64 # ]
65 "lwt"
66 "redis-lwt"
67 "webmachine"
68]
69conflicts: [
70 "cohttp" {>= "0.99.0"}
71 "lwt" {>= "4.0.0"}
72]
73synopsis: "A session manager for your everyday needs"
74description: """
75ocaml-session is an session manager that handles cookie headers and
76backend storage for HTTP servers. The library supports CoHTTP and
77Webmachine; Async and Lwt; and pluggable backing stores based on a
78functor interface."""
79flags: light-uninstall
80url {
81 src: "https://github.com/inhabitedtype/ocaml-session/archive/0.3.2.tar.gz"
82 checksum: [
83 "sha256=0d9bfe4a26ecbc6b1af2136e69730d7ddb851fcd07e845769b583925c90cb951"
84 "md5=9c0a5179613e00520c889d50623a4c41"
85 ]
86}