Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
427 B
Nix
24 lines
427 B
Nix
{ 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";
|
|
};
|
|
}
|