about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/letsencrypt/dns.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/letsencrypt/dns.nix')
-rw-r--r--pkgs/development/ocaml-modules/letsencrypt/dns.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/letsencrypt/dns.nix b/pkgs/development/ocaml-modules/letsencrypt/dns.nix
new file mode 100644
index 000000000000..99058f48d069
--- /dev/null
+++ b/pkgs/development/ocaml-modules/letsencrypt/dns.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildDunePackage
+, letsencrypt
+, logs
+, fmt
+, lwt
+, dns
+, dns-tsig
+, domain-name
+}:
+
+buildDunePackage {
+  pname = "letsencrypt-dns";
+
+  inherit (letsencrypt)
+    version
+    src
+    useDune2
+    minimumOCamlVersion
+    ;
+
+  propagatedBuildInputs = [
+    letsencrypt
+    dns
+    dns-tsig
+    domain-name
+    logs
+    lwt
+    fmt
+  ];
+
+  meta = letsencrypt.meta // {
+    description = "A DNS solver for the ACME implementation in OCaml";
+  };
+}