Skip to content

Commit

Permalink
Add lwt.5.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Oct 13, 2023
1 parent 33d6286 commit 4e2d309
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions packages/lwt-osx/lwt-osx.5.7.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
opam-version: "2.0"

synopsis: "Promises and event-driven I/O"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt"
bug-reports: "https://github.com/ocsigen/lwt/issues"

authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
maintainer: [
"Raphaël Proust <[email protected]>"
"Anton Bachin <[email protected]>"
]
dev-repo: "git+https://github.com/ocsigen/lwt.git"

depends: [
"cppo" {build & >= "1.1.0"}
"dune" {>= "1.8.0"}
"dune-configurator-osx"
"ocaml-osx" {>= "4.08"}
"ocplib-endian-osx"

# Until https://github.com/aantron/bisect_ppx/pull/327.
# "bisect_ppx" {dev & >= "2.0.0"}
"ocamlfind" {dev & >= "1.7.3-1"}
]

depopts: [
"base-threads-osx"
"base-unix-osx"
"conf-libev-osx"
]

build: [
["dune" "exec" "-p" "lwt" "-x" "osx" "src/unix/config/discover.exe" "--" "--save"
"--use-libev" "%{conf-libev:installed}%"]
["dune" "build" "-p" "lwt" "-x" "osx" "-j" jobs]
]

description: "A promise is a value that may become determined in the future.

Lwt provides typed, composable promises. Promises that are resolved by I/O are
resolved by Lwt in parallel.

Meanwhile, OCaml code, including code creating and waiting on promises, runs in
a single thread by default. This reduces the need for locks or other
synchronization primitives. Code can be run in parallel on an opt-in basis."
url {
src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.7.0.tar.gz"
checksum: [
"md5=737039d29d45b2d2b35db6931c8d75c6"
"sha512=42e629920783428673b99c9d7a639237c9e6b35079b5d907bc67e7ea506acf9edadc48cec580bdcfd2410ed9412bf5e6bcc8b09de2fa7d35ce1490973d05ddd1"
]
}

0 comments on commit 4e2d309

Please sign in to comment.