2020-04-23 16:24:15 +00:00
|
|
|
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
|
2020-06-12 18:07:39 +00:00
|
|
|
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv
|
|
|
|
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest }:
|
2020-04-08 06:36:32 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-client";
|
|
|
|
inherit (dns) src version;
|
|
|
|
|
2020-04-23 16:24:15 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-06-12 18:07:39 +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-08 06:36:32 +00:00
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "Pure DNS resolver API";
|
|
|
|
};
|
|
|
|
}
|