mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-26.05] ocamlPackages.cohttp-server-lwt-unix: init at 6.2.1 (#537056)
This commit is contained in:
24
pkgs/development/ocaml-modules/cohttp/server-lwt-unix.nix
Normal file
24
pkgs/development/ocaml-modules/cohttp/server-lwt-unix.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user