this repo has no description
1opam-version: "2.0"
2
3synopsis: "Promises and event-driven I/O"
4
5license: "MIT"
6homepage: "https://github.com/ocsigen/lwt"
7doc: "https://ocsigen.org/lwt/manual/"
8bug-reports: "https://github.com/ocsigen/lwt/issues"
9
10authors: [
11 "Jérôme Vouillon"
12 "Jérémie Dimino"
13]
14maintainer: [
15 "Anton Bachin <antonbachin@yahoo.com>"
16 "Mauricio Fernandez <mfp@acm.org>"
17 "Simon Cruanes <simon.cruanes.2007@m4x.org>"
18]
19dev-repo: "git+https://github.com/ocsigen/lwt.git"
20
21depends: [
22 "cppo" {build & >= "1.1.0"}
23 "dune"
24 "mmap" # mmap is needed as long as Lwt supports OCaml < 4.06.0.
25 "ocaml" {>= "4.02.0" & < "4.12"}
26 "result" # result is needed as long as Lwt supports OCaml 4.02.
27 "seq" # seq is needed as long as Lwt supports OCaml < 4.07.0.
28
29 "bisect_ppx" {dev & >= "1.3.0"}
30 "ocamlfind" {dev & >= "1.7.3-1"}
31]
32depopts: [
33 "base-threads"
34 "base-unix"
35 "conf-libev"
36]
37
38conflicts: [
39 "ocaml-variants" {= "4.02.1+BER"}
40]
41
42patches: ["META-version.patch"]
43
44build: [
45 ["dune" "build" "-p" name "-j" jobs]
46]
47
48description: "A promise is a value that may become determined in the future.
49
50Lwt provides typed, composable promises. Promises that are resolved by I/O are
51resolved by Lwt in parallel.
52
53Meanwhile, OCaml code, including code creating and waiting on promises, runs in
54a single thread by default. This reduces the need for locks or other
55synchronization primitives. Code can be run in parallel on an opt-in basis."
56
57url {
58 src: "https://github.com/ocsigen/lwt/archive/4.2.1.tar.gz"
59 checksum: [
60 "sha256=6663be42156c7224c4d2c57842e669d99895dbeb87ebeb46deb90c5a0f0830c1"
61 "md5=9d648386ca0a9978eb9487de36b781cc"
62 ]
63}
64extra-source "META-version.patch" {
65 src:
66 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lwt/META-version.patch"
67 checksum: [
68 "sha256=cedcd8c82c6f066fd01e7895d7f79bae0a964573fb5037b52e177d4b16461f5c"
69 "md5=8d3a13bb4b44223f1b976b1073c9735d"
70 ]
71}