depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dns/server.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

33 lines
550 B
Nix

{ buildDunePackage, dns, dns-mirage, randomconv, duration, lwt
, mirage-time, mirage-clock, metrics
, alcotest, mirage-crypto-rng, dns-tsig, base64
}:
buildDunePackage {
pname = "dns-server";
inherit (dns) version src;
propagatedBuildInputs = [
dns
dns-mirage
randomconv
duration
lwt
mirage-time
mirage-clock
metrics
];
doCheck = true;
checkInputs = [
alcotest
mirage-crypto-rng
dns-tsig
base64
];
meta = dns.meta // {
description = "DNS server, primary and secondary";
};
}