depot/third_party/nixpkgs/pkgs/development/ocaml-modules/cohttp/async.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

60 lines
752 B
Nix

{ lib
, buildDunePackage
, ppx_sexp_conv
, base
, async
, async_kernel
, async_unix
, cohttp
, conduit-async
, uri
, uri-sexp
, logs
, fmt
, sexplib0
, ipaddr
, magic-mime
, ounit
, mirage-crypto
, core
}:
buildDunePackage {
pname = "cohttp-async";
inherit (cohttp)
version
src
minimumOCamlVersion
useDune2
;
buildInputs = [ ppx_sexp_conv ];
propagatedBuildInputs = [
cohttp
conduit-async
async_kernel
async_unix
async
base
magic-mime
logs
fmt
sexplib0
uri
uri-sexp
ipaddr
];
doCheck = true;
checkInputs = [
ounit
mirage-crypto
core
];
meta = cohttp.meta // {
description = "CoHTTP implementation for the Async concurrency library";
};
}