mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
92d2950194
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
35 lines
596 B
Nix
35 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";
|
|
};
|
|
}
|