From 0e18a48042ffe126c2dac6a02713b07fc173f495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 9 Dec 2020 14:21:53 +0100 Subject: [PATCH] dnsperf: 2.3.4 -> 2.4.0 https://github.com/DNS-OARC/dnsperf/releases/tag/v2.4.0 --- pkgs/tools/networking/dnsperf/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/dnsperf/default.nix b/pkgs/tools/networking/dnsperf/default.nix index a3d819e8dcfe..68107f193288 100644 --- a/pkgs/tools/networking/dnsperf/default.nix +++ b/pkgs/tools/networking/dnsperf/default.nix @@ -1,25 +1,29 @@ { stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkgconfig -, bind, zlib, openssl, libcap +, openssl, ldns }: stdenv.mkDerivation rec { pname = "dnsperf"; - version = "2.3.4"; + version = "2.4.0"; # The same as the initial commit of the new GitHub repo (only readme changed). src = fetchFromGitHub { owner = "DNS-OARC"; repo = "dnsperf"; rev = "v${version}"; - sha256 = "1lyci2vdl6g0s5pqs7dkq7pxdahcpkzh614wmy5fwi2f3334y0d1"; + sha256 = "0q7zmzhhx71v41wf6rhyvpil43ch4a9sx21x47wgcg362lca3cbz"; }; outputs = [ "out" "man" "doc" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ]; - buildInputs = [ bind zlib openssl ] - ++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ]; + buildInputs = [ + openssl + ldns # optional for DDNS (but cheap anyway) + ]; + + doCheck = true; # For now, keep including the old PDFs as well. # https://github.com/DNS-OARC/dnsperf/issues/27