2022-06-30 07:29:12 +02:00
|
|
|
{ lib, buildDunePackage, dns, lwt, mirage-clock, mirage-time
|
|
|
|
, mirage-random, mirage-crypto-rng, mtime, randomconv
|
|
|
|
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
|
|
|
|
, ca-certs, ca-certs-nss
|
|
|
|
, happy-eyeballs
|
|
|
|
, tcpip
|
|
|
|
, tls, tls-mirage
|
|
|
|
}:
|
2020-04-08 08:36:32 +02:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-client";
|
|
|
|
inherit (dns) src version;
|
|
|
|
|
2022-06-30 07:29:12 +02:00
|
|
|
propagatedBuildInputs = [ cstruct fmt logs dns randomconv domain-name ipaddr
|
|
|
|
lwt mirage-random mirage-time mirage-clock
|
|
|
|
ca-certs ca-certs-nss happy-eyeballs tcpip tls tls-mirage
|
2020-06-12 20:07:39 +02:00
|
|
|
mtime mirage-crypto-rng ];
|
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
2020-04-08 08:36:32 +02:00
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "Pure DNS resolver API";
|
2022-05-14 01:48:49 +02:00
|
|
|
mainProgram = "dns-client.unix";
|
2020-04-08 08:36:32 +02:00
|
|
|
};
|
|
|
|
}
|