Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 63 lines 868 B view raw
1{ lib 2, buildDunePackage 3, ppx_sexp_conv 4, base 5, async 6, async_kernel 7, async_unix 8, cohttp 9, conduit-async 10, core_unix ? null 11, uri 12, uri-sexp 13, logs 14, fmt 15, sexplib0 16, ipaddr 17, magic-mime 18, ounit 19, mirage-crypto 20, core 21}: 22 23buildDunePackage { 24 pname = "cohttp-async"; 25 26 inherit (cohttp) 27 version 28 src 29 ; 30 31 duneVersion = "3"; 32 33 buildInputs = [ ppx_sexp_conv ]; 34 35 propagatedBuildInputs = [ 36 cohttp 37 conduit-async 38 async_kernel 39 async_unix 40 async 41 base 42 core_unix 43 magic-mime 44 logs 45 fmt 46 sexplib0 47 uri 48 uri-sexp 49 ipaddr 50 ]; 51 52 # Examples don't compile with core 0.15. See https://github.com/mirage/ocaml-cohttp/pull/864. 53 doCheck = false; 54 checkInputs = [ 55 ounit 56 mirage-crypto 57 core 58 ]; 59 60 meta = cohttp.meta // { 61 description = "CoHTTP implementation for the Async concurrency library"; 62 }; 63}