2022-07-14 12:49:19 +00: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-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-client";
|
|
|
|
inherit (dns) src version;
|
2023-01-20 10:41:00 +00:00
|
|
|
duneVersion = "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dns
|
|
|
|
randomconv
|
|
|
|
domain-name
|
|
|
|
mtime
|
|
|
|
mirage-crypto-rng
|
|
|
|
];
|
|
|
|
checkInputs = [ alcotest ];
|
2020-06-18 07:06:33 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "Pure DNS resolver API";
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "dns-client.unix";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|