depot/third_party/nixpkgs/pkgs/development/ocaml-modules/paf/cohttp.nix

56 lines
681 B
Nix
Raw Normal View History

{ lib
, 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
;
duneVersion = "3";
propagatedBuildInputs = [
paf
cohttp-lwt
domain-name
httpaf
ipaddr
];
doCheck = true;
nativeCheckInputs = [
alcotest-lwt
fmt
logs
mirage-crypto-rng
mirage-time-unix
tcpip
uri
lwt
astring
];
__darwinAllowLocalNetworking = true;
meta = paf.meta // {
description = "A CoHTTP client with its HTTP/AF implementation";
};
}