mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
47 lines
884 B
Nix
47 lines
884 B
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, fetchFromGitHub
|
|
, ldns
|
|
, libck
|
|
, nghttp2
|
|
, openssl
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dnsperf";
|
|
version = "2.13.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DNS-OARC";
|
|
repo = "dnsperf";
|
|
rev = "v${version}";
|
|
hash = "sha256-iNTuLcN9bsBPyXZ8SL96moFaI2pTcEhFey8+4xo9iyk=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/DNS-OARC/dnsperf/releases/tag/v${version}";
|
|
license = licenses.isc;
|
|
platforms = platforms.unix;
|
|
mainProgram = "dnsperf";
|
|
maintainers = with maintainers; [ vcunat mfrw ];
|
|
};
|
|
}
|