83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
44 lines
772 B
Nix
44 lines
772 B
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, fetchFromGitHub
|
|
, ldns
|
|
, libck
|
|
, nghttp2
|
|
, openssl
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dnsperf";
|
|
version = "2.11.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DNS-OARC";
|
|
repo = "dnsperf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-dgPpuX8Geo20BV8g0uhjSdsZUOoC+Dnz4Y2vdMW6KjY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
ldns # optional for DDNS (but cheap anyway)
|
|
libck
|
|
nghttp2
|
|
openssl
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Tools for DNS benchmaring";
|
|
homepage = "https://www.dns-oarc.net/tools/dnsperf";
|
|
license = licenses.isc;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ vcunat ];
|
|
};
|
|
}
|