ocamlPackages.cohttp-server-lwt-unix: init at 6.2.1

(cherry picked from commit 488d294af1)
This commit is contained in:
Volker Diels-Grabsch 2026-06-30 14:28:13 +02:00 committed by github-actions[bot]
commit 738de9c8cc
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
buildDunePackage,
cohttp,
cohttp-lwt-unix,
http,
lwt,
}:
buildDunePackage (finalAttrs: {
pname = "cohttp-server-lwt-unix";
inherit (cohttp) version src;
propagatedBuildInputs = [
http
lwt
];
checkInputs = [ cohttp-lwt-unix ];
doCheck = true;
meta = cohttp.meta // {
description = "Lightweight Cohttp + Lwt based HTTP server";
};
})

View file

@ -284,6 +284,8 @@ let
cohttp-lwt-unix = callPackage ../development/ocaml-modules/cohttp/lwt-unix.nix { };
cohttp-server-lwt-unix = callPackage ../development/ocaml-modules/cohttp/server-lwt-unix.nix { };
cohttp-top = callPackage ../development/ocaml-modules/cohttp/top.nix { };
coin = callPackage ../development/ocaml-modules/coin { };