2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ldns
|
|
|
|
, libck
|
|
|
|
, nghttp2
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dnsperf";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.13.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DNS-OARC";
|
|
|
|
repo = "dnsperf";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-iNTuLcN9bsBPyXZ8SL96moFaI2pTcEhFey8+4xo9iyk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [
|
|
|
|
ldns # optional for DDNS (but cheap anyway)
|
2021-03-19 17:17:44 +00:00
|
|
|
libck
|
2021-12-06 16:07:01 +00:00
|
|
|
nghttp2
|
|
|
|
openssl
|
2020-12-25 13:55:36 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tools for DNS benchmaring";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://www.dns-oarc.net/tools/dnsperf";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/DNS-OARC/dnsperf/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "dnsperf";
|
|
|
|
maintainers = with maintainers; [ vcunat mfrw ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|