47 lines
533 B
Nix
47 lines
533 B
Nix
{
|
|
buildDunePackage,
|
|
cohttp,
|
|
eio,
|
|
fmt,
|
|
http,
|
|
logs,
|
|
ptime,
|
|
uri,
|
|
alcotest,
|
|
ca-certs,
|
|
eio_main,
|
|
tls-eio,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "cohttp-eio";
|
|
inherit (cohttp)
|
|
version
|
|
src
|
|
;
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
propagatedBuildInputs = [
|
|
cohttp
|
|
eio
|
|
fmt
|
|
http
|
|
logs
|
|
ptime
|
|
uri
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest
|
|
ca-certs
|
|
eio_main
|
|
tls-eio
|
|
];
|
|
|
|
meta = cohttp.meta // {
|
|
description = "CoHTTP implementation with eio backend";
|
|
};
|
|
}
|