2020-05-03 17:38:23 +00:00
|
|
|
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
|
2020-06-18 07:06:33 +00:00
|
|
|
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv
|
|
|
|
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-client";
|
|
|
|
inherit (dns) src version;
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
propagatedBuildInputs = [ cstruct fmt logs dns rresult randomconv domain-name ipaddr
|
|
|
|
ocaml_lwt mirage-stack mirage-random mirage-time mirage-clock
|
|
|
|
mtime mirage-crypto-rng ];
|
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "Pure DNS resolver API";
|
|
|
|
};
|
|
|
|
}
|