mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
29 lines
411 B
Nix
29 lines
411 B
Nix
{
|
|
buildDunePackage,
|
|
cohttp,
|
|
cohttp-lwt-unix,
|
|
http,
|
|
lwt,
|
|
ppx_expect,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "cohttp-server-lwt-unix";
|
|
inherit (cohttp) version src;
|
|
|
|
propagatedBuildInputs = [
|
|
http
|
|
lwt
|
|
];
|
|
|
|
checkInputs = [
|
|
cohttp-lwt-unix
|
|
ppx_expect
|
|
];
|
|
doCheck = true;
|
|
|
|
meta = cohttp.meta // {
|
|
description = "Lightweight Cohttp + Lwt based HTTP server";
|
|
};
|
|
})
|