1{ lib
2, buildDunePackage
3, ppx_sexp_conv
4, base
5, async
6, async_kernel
7, async_unix
8, cohttp
9, conduit-async
10, uri
11, uri-sexp
12, logs
13, fmt
14, sexplib0
15, ipaddr
16, magic-mime
17, ounit
18, mirage-crypto
19, core
20}:
21
22buildDunePackage {
23 pname = "cohttp-async";
24
25 inherit (cohttp)
26 version
27 src
28 minimumOCamlVersion
29 useDune2
30 ;
31
32 buildInputs = [ ppx_sexp_conv ];
33
34 propagatedBuildInputs = [
35 cohttp
36 conduit-async
37 async_kernel
38 async_unix
39 async
40 base
41 magic-mime
42 logs
43 fmt
44 sexplib0
45 uri
46 uri-sexp
47 ipaddr
48 ];
49
50 doCheck = true;
51 checkInputs = [
52 ounit
53 mirage-crypto
54 core
55 ];
56
57 meta = cohttp.meta // {
58 description = "CoHTTP implementation for the Async concurrency library";
59 };
60}