diff --git a/pkgs/development/ocaml-modules/dns/client.nix b/pkgs/development/ocaml-modules/dns/client.nix new file mode 100644 index 000000000000..d007533fe45b --- /dev/null +++ b/pkgs/development/ocaml-modules/dns/client.nix @@ -0,0 +1,12 @@ +{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-random, mirage-stack, mtime, randomconv }: + +buildDunePackage { + pname = "dns-client"; + inherit (dns) src version; + + propagatedBuildInputs = [ dns mtime ocaml_lwt mirage-clock mirage-random mirage-stack randomconv ]; + + meta = dns.meta // { + description = "Pure DNS resolver API"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4296d0d6ccaf..d3f02912f531 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -216,6 +216,8 @@ let dns = callPackage ../development/ocaml-modules/dns { }; + dns-client = callPackage ../development/ocaml-modules/dns/client.nix { }; + dolmen = callPackage ../development/ocaml-modules/dolmen { }; dolog = callPackage ../development/ocaml-modules/dolog { };