2023-02-09 11:40:11 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, dns
|
|
|
|
, dns-server
|
|
|
|
, dns-mirage
|
|
|
|
, lru
|
|
|
|
, duration
|
|
|
|
, randomconv
|
|
|
|
, lwt
|
|
|
|
, mirage-time
|
|
|
|
, mirage-clock
|
|
|
|
, mirage-random
|
|
|
|
, 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;
|
2023-01-20 10:41:00 +00:00
|
|
|
duneVersion = "3";
|
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;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "DNS resolver business logic";
|
|
|
|
};
|
|
|
|
}
|