summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/paf/le.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/paf/le.nix')
-rw-r--r--pkgs/development/ocaml-modules/paf/le.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/paf/le.nix b/pkgs/development/ocaml-modules/paf/le.nix
new file mode 100644
index 00000000000..06a8d9b51eb
--- /dev/null
+++ b/pkgs/development/ocaml-modules/paf/le.nix
@@ -0,0 +1,41 @@
+{ lib
+, buildDunePackage
+, paf
+, duration
+, emile
+, httpaf
+, letsencrypt
+, mirage-stack
+, mirage-time
+, tls-mirage
+, x509
+}:
+
+buildDunePackage {
+  pname = "paf-le";
+
+  inherit (paf)
+    version
+    src
+    useDune2
+    minimumOCamlVersion
+  ;
+
+  propagatedBuildInputs = [
+    paf
+    duration
+    emile
+    httpaf
+    letsencrypt
+    mirage-stack
+    mirage-time
+    tls-mirage
+    x509
+  ];
+
+  doCheck = true;
+
+  meta = paf.meta // {
+    description = "A CoHTTP client with its HTTP/AF implementation";
+  };
+}