@@ -1,25 +1,29 @@
11{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkgconfig
2−, bind, zlib, openssl, libcap
2+, openssl, ldns
33}:
44
55stdenv.mkDerivation rec {
66 pname = "dnsperf";
7− version = "2.3.4";
7+ version = "2.4.0";
88
99 # The same as the initial commit of the new GitHub repo (only readme changed).
1010 src = fetchFromGitHub {
1111 owner = "DNS-OARC";
1212 repo = "dnsperf";
1313 rev = "v${version}";
14− sha256 = "1lyci2vdl6g0s5pqs7dkq7pxdahcpkzh614wmy5fwi2f3334y0d1";
14+ sha256 = "0q7zmzhhx71v41wf6rhyvpil43ch4a9sx21x47wgcg362lca3cbz";
1515 };
1616
1717 outputs = [ "out" "man" "doc" ];
1818
1919 nativeBuildInputs = [ autoreconfHook pkgconfig ];
2020
21− buildInputs = [ bind zlib openssl ]
22− ++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ];
21+ buildInputs = [
22+ openssl
23+ ldns # optional for DDNS (but cheap anyway)
24+ ];
25+
26+ doCheck = true;
2327
2428 # For now, keep including the old PDFs as well.
2529 # https://github.com/DNS-OARC/dnsperf/issues/27