nixpkgs/pkgs/development/ocaml-modules/paf/cohttp.nix
Vincent Laporte 565589da39
ocamlPackages.paf: 0.0.8 → 0.1.0
ocamlPackages.{hpack,h2}: 0.8.0 → 0.9.0
2022-09-16 20:51:17 +02:00

51 lines
613 B
Nix

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