mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 14:24:40 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
798 B
Nix
27 lines
798 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 = [ cstruct fmt logs dns randomconv domain-name ipaddr
|
|
lwt mirage-random mirage-time mirage-clock
|
|
ca-certs ca-certs-nss happy-eyeballs tcpip tls tls-mirage
|
|
mtime mirage-crypto-rng ];
|
|
nativeCheckInputs = [ alcotest ];
|
|
doCheck = true;
|
|
|
|
meta = dns.meta // {
|
|
description = "Pure DNS resolver API";
|
|
mainProgram = "dns-client.unix";
|
|
};
|
|
}
|