dnsperf: 2.2.0 -> 2.3.1

Mainly they add support for TCP and TLS.
This commit is contained in:
Vladimír Čunát 2019-07-24 17:06:54 +02:00
parent 3a2996c07a
commit 96b925e63d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,22 +1,23 @@
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook { stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkgconfig
, bind, zlib, openssl, libcap , bind, zlib, openssl, libcap
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dnsperf-${version}"; name = "dnsperf-${version}";
version = "2.2.0"; version = "2.3.1";
# The same as the initial commit of the new GitHub repo (only readme changed). # The same as the initial commit of the new GitHub repo (only readme changed).
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DNS-OARC"; owner = "DNS-OARC";
repo = "dnsperf"; repo = "dnsperf";
rev = "v${version}"; rev = "v${version}";
sha256 = "1acbpgk1d7hjs48j3w6xkmyf9xlxhqskjy50a16f9dvjwvvxp84b"; sha256 = "0yxwm5xi9ry154ayzn2h27bnwwc202bsna8h6i4a65pn76nrn81w";
}; };
outputs = [ "out" "man" "doc" ]; outputs = [ "out" "man" "doc" ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ bind zlib openssl ] buildInputs = [ bind zlib openssl ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ]; ++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ];