From 8c3dcbe79a7ba97de301dfcf734047729119f5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Thu, 10 Oct 2024 15:34:28 +0200 Subject: [PATCH] 2 packages from ocsigen/lwt at 5.8.0 --- packages/lwt/lwt.5.8.0/opam | 64 +++++++++++++++++++++++++++++ packages/lwt_ppx/lwt_ppx.5.8.0/opam | 40 ++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 packages/lwt/lwt.5.8.0/opam create mode 100644 packages/lwt_ppx/lwt_ppx.5.8.0/opam diff --git a/packages/lwt/lwt.5.8.0/opam b/packages/lwt/lwt.5.8.0/opam new file mode 100644 index 00000000000..e0bf8004b5c --- /dev/null +++ b/packages/lwt/lwt.5.8.0/opam @@ -0,0 +1,64 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +synopsis: "Promises and event-driven I/O" +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. +""" +maintainer: [ + "Raphaël Proust " "Anton Bachin " +] +authors: ["Jérôme Vouillon" "Jérémie Dimino"] +license: "MIT" +homepage: "https://github.com/ocsigen/lwt" +doc: "https://ocsigen.org/lwt" +bug-reports: "https://github.com/ocsigen/lwt/issues" +depends: [ + "dune" {>= "1.12"} + "ocaml" {>= "4.08"} + "cppo" {build & >= "1.1.0"} + "ocamlfind" {dev & >= "1.7.3-1"} + "odoc" {with-doc & >= "2.3.0"} + "dune-configurator" + "ocplib-endian" +] +depopts: ["base-threads" "base-unix" "conf-libev"] +dev-repo: "git+https://github.com/ocsigen/lwt.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "exec" + "-p" + name + "src/unix/config/discover.exe" + "--" + "--save" + "--use-libev" "%{conf-libev:installed}%" + ] + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +available: os-family != "windows" | "ocaml-version" < "5.2" +url { + src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.8.0.tar.gz" + checksum: [ + "md5=2682558f405ab7c8638eeb16d0f9f46f" + "sha512=7f6548a1b1dbfdbc98d9352151ca7be97fa2ab63dbcc429208ce8d08308eee13f7fce31e0cca53f8880233959a60212d622270dd51bf164c3ee272f179769bd9" + ] +} diff --git a/packages/lwt_ppx/lwt_ppx.5.8.0/opam b/packages/lwt_ppx/lwt_ppx.5.8.0/opam new file mode 100644 index 00000000000..5e4183ea1f6 --- /dev/null +++ b/packages/lwt_ppx/lwt_ppx.5.8.0/opam @@ -0,0 +1,40 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +synopsis: + "PPX syntax for Lwt, providing something similar to async/await from JavaScript" +maintainer: [ + "Raphaël Proust " "Anton Bachin " +] +authors: ["Jérôme Vouillon" "Jérémie Dimino"] +license: "MIT" +homepage: "https://github.com/ocsigen/lwt" +doc: "https://ocsigen.org/lwt" +bug-reports: "https://github.com/ocsigen/lwt/issues" +depends: [ + "dune" {>= "1.12"} + "ocaml" {>= "4.08"} + "ppxlib" {>= "0.16.0"} + "lwt" +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocsigen/lwt.git" +url { + src: "https://github.com/ocsigen/lwt/archive/refs/tags/5.8.0.tar.gz" + checksum: [ + "md5=2682558f405ab7c8638eeb16d0f9f46f" + "sha512=7f6548a1b1dbfdbc98d9352151ca7be97fa2ab63dbcc429208ce8d08308eee13f7fce31e0cca53f8880233959a60212d622270dd51bf164c3ee272f179769bd9" + ] +}