forked from ocsigen/lwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lwt.opam
60 lines (57 loc) · 1.86 KB
/
lwt.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
opam-version: "1.2"
version: "dev"
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
"Mauricio Fernandez <mfp@acm.org>"
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
]
authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/manual/"
bug-reports: "https://github.com/ocsigen/lwt/issues"
license: "LGPL with OpenSSL linking exception"
dev-repo: "https://github.com/ocsigen/lwt.git"
build: [
[ "ocaml" "src/util/configure.ml" "-use-libev" "%{conf-libev:installed}%"
"-use-camlp4" "%{camlp4:installed}%" ]
[ "jbuilder" "build" "-p" name "-j" jobs ]
[ "ocaml" "src/util/install_filter.ml" ]
]
build-test: [ [ "jbuilder" "runtest" "-p" name ] ]
depends: [
# Bisect_ppx is used only during development. This dependency should be
# removed when preparing a release.
"bisect_ppx" {>= "1.3.0"}
"cppo" {build & >= "1.1.0"}
"jbuilder" {build & >= "1.0+beta13"}
# We are only using ocamlfind during configuration of the Unix binding.
"ocamlfind" {build & >= "1.5.0"}
"ocaml-migrate-parsetree"
"ppx_tools_versioned"
# result is needed as long as Lwt still supports OCaml 4.02.
"result"
]
depopts: [
"base-threads"
"base-unix"
"camlp4"
"conf-libev"
]
# In practice, Lwt requires OCaml >= 4.02.3, as that is a constraint of the
# dependency jbuilder.
available: [ocaml-version >= "4.02.0" & compiler != "4.02.1+BER"]
messages: [
"For module Lwt_ssl, please install package lwt_ssl"
{ssl:installed & !lwt_ssl:installed}
"For module Lwt_glib, please install package lwt_glib"
{lablgtk:installed & !lwt_glib:installed}
"For module Lwt_react, please install package lwt_react"
{react:installed & !lwt_react:installed}
]
post-messages: [
"Lwt 4.0.0 will make some breaking changes to packaging in late 2017. See
https://github.com/ocsigen/lwt/issues/453"
]