ocamlPackages.lwt_eio: init at 0.5.1

This commit is contained in:
Marijan Petričević 2025-05-27 11:24:56 -05:00 committed by Vincent Laporte
parent 3d1f29646e
commit 16cbbb374d
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
lib,
buildDunePackage,
fetchurl,
eio,
lwt,
}:
buildDunePackage rec {
pname = "lwt_eio";
version = "0.5.1";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/ocaml-multicore/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
hash = "sha256-dlJnhHh4VNO60NZJZqc1HS8wPR95WhdeBJTK37pPbCE=";
};
propagatedBuildInputs = [
eio
lwt
];
meta = {
homepage = "https://github.com/ocaml-multicore/${pname}";
changelog = "https://github.com/ocaml-multicore/${pname}/raw/v${version}/CHANGES.md";
description = "Use Lwt libraries from within Eio";
license = with lib.licenses; [ isc ];
};
}

View File

@ -1147,6 +1147,8 @@ let
lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
lwt_eio = callPackage ../development/ocaml-modules/lwt_eio { };
lwt-exit = callPackage ../development/ocaml-modules/lwt-exit { };
lwt_log = callPackage ../development/ocaml-modules/lwt_log { };