2024-07-27 06:49:29 +00:00
|
|
|
{ buildDunePackage
|
2021-10-01 09:20:50 +00:00
|
|
|
, 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
|
2023-02-09 11:40:11 +00:00
|
|
|
;
|
2021-10-01 09:20:50 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
|
2021-10-01 09:20:50 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
paf
|
|
|
|
cohttp-lwt
|
|
|
|
domain-name
|
|
|
|
httpaf
|
|
|
|
ipaddr
|
|
|
|
];
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-10-01 09:20:50 +00:00
|
|
|
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
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-10-01 09:20:50 +00:00
|
|
|
meta = paf.meta // {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CoHTTP client with its HTTP/AF implementation";
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
}
|