depot/third_party/nixpkgs/pkgs/tools/networking/dnsperf/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

46 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 ];
};
}