summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dns/client.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/dns/client.nix')
-rw-r--r--pkgs/development/ocaml-modules/dns/client.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dns/client.nix b/pkgs/development/ocaml-modules/dns/client.nix
new file mode 100644
index 00000000000..0dd0541138c
--- /dev/null
+++ b/pkgs/development/ocaml-modules/dns/client.nix
@@ -0,0 +1,16 @@
+{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
+, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv }:
+
+buildDunePackage {
+  pname = "dns-client";
+  inherit (dns) src version;
+
+  useDune2 = true;
+
+  propagatedBuildInputs = [ dns mtime ocaml_lwt randomconv mirage-clock mirage-time
+                            mirage-random mirage-stack mirage-crypto-rng ];
+
+  meta = dns.meta // {
+    description = "Pure DNS resolver API";
+  };
+}