about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/httpaf
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-12-20 08:42:31 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2022-12-27 08:27:24 +0100
commitb169e34beb97288fda1bffb05dc727f6f4717a11 (patch)
tree1f091e5553cedcc0c1f543241918f22f9f0fd4b6 /pkgs/development/ocaml-modules/httpaf
parentb9c1fc696155934cb9a91ba19281b7e37467da21 (diff)
ocamlPackages.httpaf-lwt-unix: init at 0.7.1
Diffstat (limited to 'pkgs/development/ocaml-modules/httpaf')
-rw-r--r--pkgs/development/ocaml-modules/httpaf/lwt-unix.nix22
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";
+  };
+}