nixpkgs/pkgs/tools/networking/dnsperf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
772 B
Nix
Raw Normal View History

2021-11-28 10:31:24 +00:00
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, ldns
, libck
, nghttp2
, openssl
, pkg-config
}:
2016-12-08 18:13:42 +00:00
stdenv.mkDerivation rec {
pname = "dnsperf";
2022-11-12 03:37:53 +00:00
version = "2.10.0";
2016-12-08 18:13:42 +00:00
src = fetchFromGitHub {
owner = "DNS-OARC";
repo = "dnsperf";
rev = "v${version}";
2022-11-12 03:37:53 +00:00
sha256 = "sha256-V8wFswGs4p045mOyLA1Zrlz4JtfojHbUir0esS2iUIs=";
2016-12-08 18:13:42 +00:00
};
2021-11-28 10:31:24 +00:00
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
ldns # optional for DDNS (but cheap anyway)
libck
2021-11-28 10:31:24 +00:00
nghttp2
openssl
];
doCheck = true;
2016-12-08 18:13:42 +00:00
meta = with lib; {
2016-12-08 18:13:42 +00:00
description = "Tools for DNS benchmaring";
2021-11-28 10:31:24 +00:00
homepage = "https://www.dns-oarc.net/tools/dnsperf";
2016-12-08 18:13:42 +00:00
license = licenses.isc;
platforms = platforms.unix;
2021-11-28 10:31:24 +00:00
maintainers = with maintainers; [ vcunat ];
2016-12-08 18:13:42 +00:00
};
}