2020-12-29 21:22:38 +00:00
|
|
|
{ buildDunePackage, dns, dns-server, dns-mirage, lru, duration
|
|
|
|
, randomconv, lwt, mirage-time, mirage-clock, mirage-random
|
2022-09-21 14:10:35 +00:00
|
|
|
, tcpip, tls, tls-mirage, dnssec
|
2020-12-29 21:22:38 +00:00
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-resolver";
|
|
|
|
|
2022-06-30 05:29:12 +00:00
|
|
|
inherit (dns) version src;
|
2020-12-29 21:22:38 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dns
|
|
|
|
dns-server
|
|
|
|
dns-mirage
|
2022-09-21 14:10:35 +00:00
|
|
|
dnssec
|
2020-12-29 21:22:38 +00:00
|
|
|
lru
|
|
|
|
duration
|
|
|
|
randomconv
|
|
|
|
lwt
|
|
|
|
mirage-time
|
|
|
|
mirage-clock
|
|
|
|
mirage-random
|
2022-06-30 05:29:12 +00:00
|
|
|
tcpip
|
|
|
|
tls
|
|
|
|
tls-mirage
|
2020-12-29 21:22:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "DNS resolver business logic";
|
|
|
|
};
|
|
|
|
}
|