mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ocamlPackages.cohttp-server-lwt-unix: init at 6.2.1
(cherry picked from commit 488d294af1)
This commit is contained in:
parent
33c3eb2a16
commit
738de9c8cc
2 changed files with 26 additions and 0 deletions
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 { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue