2021-01-05 17:05:55 +00:00
|
|
|
{ buildDunePackage, dns, dns-server, dns-mirage, lru, duration
|
|
|
|
, randomconv, lwt, mirage-time, mirage-clock, mirage-random
|
2022-09-22 12:36:57 +00:00
|
|
|
, tcpip, tls, tls-mirage, dnssec
|
2021-01-05 17:05:55 +00:00
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-resolver";
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
inherit (dns) version src;
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dns
|
|
|
|
dns-server
|
|
|
|
dns-mirage
|
2022-09-22 12:36:57 +00:00
|
|
|
dnssec
|
2021-01-05 17:05:55 +00:00
|
|
|
lru
|
|
|
|
duration
|
|
|
|
randomconv
|
|
|
|
lwt
|
|
|
|
mirage-time
|
|
|
|
mirage-clock
|
|
|
|
mirage-random
|
2022-07-14 12:49:19 +00:00
|
|
|
tcpip
|
|
|
|
tls
|
|
|
|
tls-mirage
|
2021-01-05 17:05:55 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "DNS resolver business logic";
|
|
|
|
};
|
|
|
|
}
|