nixpkgs/pkgs/development/ocaml-modules/paf/cohttp.nix
Vincent Laporte f9adb56670
ocamlPackages.hpack: 0.9.0 → 0.10.0 (#225270)
* ocamlPackages.hpack: 0.9.0 → 0.10.0

ocamlPackages.paf: 0.4.0 → 0.5.0

ocamlPackages.http-mirage-client: 0.0.2 → 0.0.3

* ocamlPackages.httpaf: use Dune 3
2023-04-09 12:08:42 +02:00

56 lines
677 B
Nix

{ 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;
checkInputs = [
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";
};
}