Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
52 lines
647 B
Nix
52 lines
647 B
Nix
{ 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
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = paf.meta // {
|
|
description = "CoHTTP client with its HTTP/AF implementation";
|
|
};
|
|
}
|