mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
34 lines
604 B
Nix
34 lines
604 B
Nix
|
{ buildDunePackage, dns, dns-client, dns-mirage, dns-resolver, dns-tsig
|
||
|
, dns-server, duration, randomconv, lwt, mirage-time, mirage-clock
|
||
|
, mirage-random, mirage-stack, metrics
|
||
|
}:
|
||
|
|
||
|
buildDunePackage {
|
||
|
pname = "dns-stub";
|
||
|
|
||
|
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
dns
|
||
|
dns-client
|
||
|
dns-mirage
|
||
|
dns-resolver
|
||
|
dns-tsig
|
||
|
dns-server
|
||
|
duration
|
||
|
randomconv
|
||
|
lwt
|
||
|
mirage-time
|
||
|
mirage-clock
|
||
|
mirage-random
|
||
|
mirage-stack
|
||
|
metrics
|
||
|
];
|
||
|
|
||
|
doCheck = true;
|
||
|
|
||
|
meta = dns.meta // {
|
||
|
description = "DNS stub resolver";
|
||
|
};
|
||
|
}
|