52 lines
615 B
Nix
52 lines
615 B
Nix
|
|
{
|
||
|
|
buildDunePackage,
|
||
|
|
paf,
|
||
|
|
cohttp-lwt,
|
||
|
|
domain-name,
|
||
|
|
h1,
|
||
|
|
ipaddr,
|
||
|
|
alcotest-lwt,
|
||
|
|
fmt,
|
||
|
|
logs,
|
||
|
|
mirage-crypto-rng,
|
||
|
|
tcpip,
|
||
|
|
uri,
|
||
|
|
lwt,
|
||
|
|
astring,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildDunePackage {
|
||
|
|
pname = "paf-cohttp";
|
||
|
|
|
||
|
|
inherit (paf)
|
||
|
|
version
|
||
|
|
src
|
||
|
|
;
|
||
|
|
|
||
|
|
propagatedBuildInputs = [
|
||
|
|
paf
|
||
|
|
cohttp-lwt
|
||
|
|
domain-name
|
||
|
|
h1
|
||
|
|
ipaddr
|
||
|
|
];
|
||
|
|
|
||
|
|
doCheck = true;
|
||
|
|
checkInputs = [
|
||
|
|
alcotest-lwt
|
||
|
|
fmt
|
||
|
|
logs
|
||
|
|
mirage-crypto-rng
|
||
|
|
tcpip
|
||
|
|
uri
|
||
|
|
lwt
|
||
|
|
astring
|
||
|
|
];
|
||
|
|
|
||
|
|
__darwinAllowLocalNetworking = true;
|
||
|
|
|
||
|
|
meta = paf.meta // {
|
||
|
|
description = "CoHTTP client with its HTTP/AF implementation";
|
||
|
|
};
|
||
|
|
}
|