|
| 1 | +# This file is generated by dune, edit dune-project instead |
| 2 | +opam-version: "2.0" |
| 3 | +synopsis: "Promises and event-driven I/O" |
| 4 | +description: """ |
| 5 | +A promise is a value that may become determined in the future. |
| 6 | + |
| 7 | +Lwt provides typed, composable promises. Promises that are resolved by I/O are |
| 8 | +resolved by Lwt in parallel. |
| 9 | + |
| 10 | +Meanwhile, OCaml code, including code creating and waiting on promises, runs in |
| 11 | +a single thread by default. This reduces the need for locks or other |
| 12 | +synchronization primitives. Code can be run in parallel on an opt-in basis. |
| 13 | +""" |
| 14 | +maintainer: [ |
| 15 | + "Raphaël Proust < [email protected]>" "Anton Bachin < [email protected]>" |
| 16 | +] |
| 17 | +authors: ["Jérôme Vouillon" "Jérémie Dimino"] |
| 18 | +license: "MIT" |
| 19 | +homepage: "https://github.com/ocsigen/lwt" |
| 20 | +doc: "https://ocsigen.org/lwt" |
| 21 | +bug-reports: "https://github.com/ocsigen/lwt/issues" |
| 22 | +depends: [ |
| 23 | + "dune" {>= "2.7"} |
| 24 | + "ocaml" {>= "4.08"} |
| 25 | + "cppo" {build & >= "1.1.0"} |
| 26 | + "ocamlfind" {dev & >= "1.7.3-1"} |
| 27 | + "odoc" {with-doc & >= "2.3.0"} |
| 28 | + "dune-configurator" |
| 29 | + "ocplib-endian" |
| 30 | +] |
| 31 | +depopts: ["base-threads" "base-unix" "conf-libev"] |
| 32 | +dev-repo: "git+https://github.com/ocsigen/lwt.git" |
| 33 | +build: [ |
| 34 | + ["dune" "subst"] {dev} |
| 35 | + [ |
| 36 | + "dune" |
| 37 | + "exec" |
| 38 | + "-p" |
| 39 | + name |
| 40 | + "src/unix/config/discover.exe" |
| 41 | + "--" |
| 42 | + "--save" |
| 43 | + "--use-libev" "%{conf-libev:installed}%" |
| 44 | + ] |
| 45 | + [ |
| 46 | + "dune" |
| 47 | + "build" |
| 48 | + "-p" |
| 49 | + name |
| 50 | + "-j" |
| 51 | + jobs |
| 52 | + "@install" |
| 53 | + "@runtest" {with-test} |
| 54 | + "@doc" {with-doc} |
| 55 | + ] |
| 56 | +] |
| 57 | +url { |
| 58 | + src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.9.1.tar.gz" |
| 59 | + checksum: [ |
| 60 | + "md5=18742da8b8fe3618e3fa700b7a884fe7" |
| 61 | + "sha512=1c51fdb4d0856c89e2df08a1c0095ef28ebd0f613b07b03d0f66501ca5486515562071291e6d0932e57587ed0c9362c8b92c5c9eddb4d2bb2f5e129986b484a7" |
| 62 | + ] |
| 63 | +} |
0 commit comments