0eeabdeb66
GitOrigin-RevId: c07b471b52be8fbc49a7dc194e9b37a6e19ee04d
53 lines
665 B
Nix
53 lines
665 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
|
|
useDune2
|
|
minimumOCamlVersion
|
|
;
|
|
|
|
propagatedBuildInputs = [
|
|
paf
|
|
cohttp-lwt
|
|
domain-name
|
|
httpaf
|
|
ipaddr
|
|
];
|
|
|
|
doCheck = false; # tests fail
|
|
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";
|
|
};
|
|
}
|