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