depot/third_party/nixpkgs/pkgs/tools/networking/dnsperf/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

44 lines
772 B
Nix

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