ocamlPackages.httpun: init at 0.2.0

This commit is contained in:
Vincent Laporte 2024-09-24 20:33:39 +02:00 committed by Vincent Laporte
parent c48691642f
commit 7e69dfd3c0
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ buildDunePackage
, httpun-types
, angstrom
, bigstringaf
, faraday
, alcotest
}:
buildDunePackage {
pname = "httpun";
inherit (httpun-types) src version;
propagatedBuildInputs = [ angstrom bigstringaf faraday httpun-types ];
doCheck = true;
checkInputs = [ alcotest ];
meta = httpun-types.meta // {
description = "A high-performance, memory-efficient, and scalable HTTP library for OCaml";
};
}

View File

@ -691,6 +691,8 @@ let
httpaf-lwt-unix = callPackage ../development/ocaml-modules/httpaf/lwt-unix.nix { };
httpun = callPackage ../development/ocaml-modules/httpun { };
httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { };
hxd = callPackage ../development/ocaml-modules/hxd { };