mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
51 lines
602 B
Nix
51 lines
602 B
Nix
{
|
|
buildDunePackage,
|
|
cohttp,
|
|
eio,
|
|
fmt,
|
|
http,
|
|
logs,
|
|
ptime,
|
|
uri,
|
|
alcotest,
|
|
ca-certs,
|
|
eio_main,
|
|
ppx_expect,
|
|
tls-eio,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "cohttp-eio";
|
|
inherit (cohttp)
|
|
version
|
|
src
|
|
;
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
propagatedBuildInputs = [
|
|
cohttp
|
|
eio
|
|
fmt
|
|
http
|
|
logs
|
|
ptime
|
|
uri
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest
|
|
ca-certs
|
|
eio_main
|
|
ppx_expect
|
|
tls-eio
|
|
];
|
|
|
|
meta = cohttp.meta // {
|
|
description = "CoHTTP implementation with eio backend";
|
|
};
|
|
}
|