depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dns/resolver.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

38 lines
619 B
Nix

{ buildDunePackage, dns, dns-server, dns-mirage, lru, duration
, randomconv, lwt, mirage-time, mirage-clock, mirage-random
, tcpip, tls, tls-mirage, dnssec
, alcotest
}:
buildDunePackage {
pname = "dns-resolver";
inherit (dns) version src;
duneVersion = "3";
propagatedBuildInputs = [
dns
dns-server
dns-mirage
dnssec
lru
duration
randomconv
lwt
mirage-time
mirage-clock
mirage-random
tcpip
tls
tls-mirage
];
doCheck = true;
nativeCheckInputs = [
alcotest
];
meta = dns.meta // {
description = "DNS resolver business logic";
};
}