3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/dnsperf/default.nix
2022-11-12 03:37:53 +00:00

45 lines
772 B
Nix

{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, ldns
, libck
, nghttp2
, openssl
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "dnsperf";
version = "2.10.0";
src = fetchFromGitHub {
owner = "DNS-OARC";
repo = "dnsperf";
rev = "v${version}";
sha256 = "sha256-V8wFswGs4p045mOyLA1Zrlz4JtfojHbUir0esS2iUIs=";
};
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 ];
};
}