From 8a2d4dbbfc81c573cc7515972321b1be2f707cf3 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Sun, 14 Jan 2024 15:24:07 +0100 Subject: [PATCH] Put in earplugs --- packages/zzkt/soupault.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/zzkt/soupault.scm b/packages/zzkt/soupault.scm index 20c9aa2..58a3a82 100644 --- a/packages/zzkt/soupault.scm +++ b/packages/zzkt/soupault.scm @@ -510,3 +510,30 @@ currently designed for Unicode Standard 3.2.") (synopsis "Embed locations information inside executable and libraries") (description #f) (license license:expat))) + +;; via guix import opam lwt +;; note: v5.6 is currently available in guix + +(define-public ocaml-lwt +(package + (name "ocaml-lwt") + (version "5.7.0") + (source + (origin + (method url-fetch) + (uri "https://github.com/ocsigen/lwt/archive/refs/tags/5.7.0.tar.gz") + (sha256 + (base32 "11dpr0aprqqjgb2n4j4czpw3l0bc8dzy1jqmp2qz3xkih31k241p")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-dune-configurator ocaml-ocplib-endian)) + (native-inputs (list ocaml-cppo)) + (home-page "https://github.com/ocsigen/lwt") + (synopsis "Promises and event-driven I/O") + (description + "This package provides 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.") + (license license:expat)))