about summary refs log tree commit diff
path: root/pkgs/tools/networking/dnsperf
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2020-12-09 14:21:53 +0100
committerVladimír Čunát <v@cunat.cz>2020-12-13 10:58:08 +0100
commit0e18a48042ffe126c2dac6a02713b07fc173f495 (patch)
tree45714a8b3c2c9c69b7dbb6b4d20fb21d137d74a7 /pkgs/tools/networking/dnsperf
parent0f08fc1dc6426191b785870d174f8d9748d2e0cc (diff)
dnsperf: 2.3.4 -> 2.4.0
https://github.com/DNS-OARC/dnsperf/releases/tag/v2.4.0
Diffstat (limited to 'pkgs/tools/networking/dnsperf')
-rw-r--r--pkgs/tools/networking/dnsperf/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/networking/dnsperf/default.nix b/pkgs/tools/networking/dnsperf/default.nix
index a3d819e8dcfe9..68107f1932886 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