2021-10-01 09:20:50 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, paf
|
|
|
|
, cohttp-lwt
|
|
|
|
, domain-name
|
|
|
|
, httpaf
|
|
|
|
, ipaddr
|
|
|
|
, alcotest-lwt
|
|
|
|
, fmt
|
|
|
|
, logs
|
|
|
|
, mirage-crypto-rng
|
|
|
|
, mirage-time-unix
|
|
|
|
, tcpip
|
|
|
|
, uri
|
|
|
|
, lwt
|
2022-01-25 03:21:06 +00:00
|
|
|
, astring
|
2021-10-01 09:20:50 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "paf-cohttp";
|
|
|
|
|
|
|
|
inherit (paf)
|
|
|
|
version
|
|
|
|
src
|
|
|
|
useDune2
|
|
|
|
minimumOCamlVersion
|
|
|
|
;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
paf
|
|
|
|
cohttp-lwt
|
|
|
|
domain-name
|
|
|
|
httpaf
|
|
|
|
ipaddr
|
|
|
|
];
|
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
doCheck = false; # tests fail
|
2021-10-01 09:20:50 +00:00
|
|
|
checkInputs = [
|
|
|
|
alcotest-lwt
|
|
|
|
fmt
|
|
|
|
logs
|
|
|
|
mirage-crypto-rng
|
|
|
|
mirage-time-unix
|
|
|
|
tcpip
|
|
|
|
uri
|
|
|
|
lwt
|
2022-01-25 03:21:06 +00:00
|
|
|
astring
|
2021-10-01 09:20:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = paf.meta // {
|
|
|
|
description = "A CoHTTP client with its HTTP/AF implementation";
|
|
|
|
};
|
|
|
|
}
|