depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dns/client.nix

25 lines
427 B
Nix
Raw Normal View History

{ buildDunePackage, dns
, mirage-crypto-rng, mtime, randomconv
, domain-name, alcotest
}:
buildDunePackage {
pname = "dns-client";
inherit (dns) src version;
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";
};
}