depot/third_party/nixpkgs/pkgs/development/ocaml-modules/paf/cohttp.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

51 lines
628 B
Nix

{ lib
, buildDunePackage
, paf
, cohttp-lwt
, domain-name
, httpaf
, ipaddr
, alcotest-lwt
, fmt
, logs
, mirage-crypto-rng
, mirage-time-unix
, tcpip
, uri
, lwt
}:
buildDunePackage {
pname = "paf-cohttp";
inherit (paf)
version
src
useDune2
minimumOCamlVersion
;
propagatedBuildInputs = [
paf
cohttp-lwt
domain-name
httpaf
ipaddr
];
doCheck = true;
checkInputs = [
alcotest-lwt
fmt
logs
mirage-crypto-rng
mirage-time-unix
tcpip
uri
lwt
];
meta = paf.meta // {
description = "A CoHTTP client with its HTTP/AF implementation";
};
}