92d2950194
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
34 lines
596 B
Nix
34 lines
596 B
Nix
{ buildDunePackage, dns, dns-client-mirage, dns-mirage, dns-resolver, dns-tsig
|
|
, dns-server, duration, randomconv, lwt, mirage-time, mirage-clock
|
|
, mirage-random, tcpip, metrics
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "dns-stub";
|
|
|
|
inherit (dns) version src;
|
|
duneVersion = "3";
|
|
|
|
propagatedBuildInputs = [
|
|
dns
|
|
dns-client-mirage
|
|
dns-mirage
|
|
dns-resolver
|
|
dns-tsig
|
|
dns-server
|
|
duration
|
|
randomconv
|
|
lwt
|
|
mirage-time
|
|
mirage-clock
|
|
mirage-random
|
|
tcpip
|
|
metrics
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = dns.meta // {
|
|
description = "DNS stub resolver";
|
|
};
|
|
}
|