2021-01-05 17:05:55 +00:00
|
|
|
{ buildDunePackage, dns, dns-client, dns-mirage, dns-resolver, dns-tsig
|
|
|
|
, dns-server, duration, randomconv, lwt, mirage-time, mirage-clock
|
2022-07-14 12:49:19 +00:00
|
|
|
, mirage-random, tcpip, metrics
|
2021-01-05 17:05:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-stub";
|
|
|
|
|
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-client
|
|
|
|
dns-mirage
|
|
|
|
dns-resolver
|
|
|
|
dns-tsig
|
|
|
|
dns-server
|
|
|
|
duration
|
|
|
|
randomconv
|
|
|
|
lwt
|
|
|
|
mirage-time
|
|
|
|
mirage-clock
|
|
|
|
mirage-random
|
2022-07-14 12:49:19 +00:00
|
|
|
tcpip
|
2021-01-05 17:05:55 +00:00
|
|
|
metrics
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "DNS stub resolver";
|
|
|
|
};
|
|
|
|
}
|