diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/httpaf/lwt-unix.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/httpaf/lwt-unix.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/httpaf/lwt-unix.nix b/pkgs/development/ocaml-modules/httpaf/lwt-unix.nix new file mode 100644 index 0000000000000..9b78d7bf6401b --- /dev/null +++ b/pkgs/development/ocaml-modules/httpaf/lwt-unix.nix @@ -0,0 +1,22 @@ +{ lib, buildDunePackage +, httpaf +, faraday-lwt-unix +, lwt +}: + +buildDunePackage { + pname = "httpaf-lwt-unix"; + inherit (httpaf) version src; + duneVersion = "3"; + minimalOCamlVersion = "4.08"; + + propagatedBuildInputs = [ + faraday-lwt-unix + httpaf + lwt + ]; + + meta = httpaf.meta // { + description = "Lwt support for http/af"; + }; +} |