depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dns/client.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

29 lines
605 B
Nix

{ lib, buildDunePackage, dns, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
, happy-eyeballs
, tcpip
, tls, tls-mirage
}:
buildDunePackage {
pname = "dns-client";
inherit (dns) src version;
duneVersion = "3";
propagatedBuildInputs = [
dns
randomconv
domain-name
mtime
mirage-crypto-rng
];
checkInputs = [ alcotest ];
doCheck = true;
meta = dns.meta // {
description = "Pure DNS resolver API";
mainProgram = "dns-client.unix";
};
}