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