dnsperf: init at 2.1.0.0

This commit is contained in:
Vladimír Čunát 2016-12-08 19:13:42 +01:00
parent 037c489b10
commit 0bfbd039f9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchurl, bind, libseccomp, zlib }:
stdenv.mkDerivation rec {
name = "dnsperf-${version}";
version = "2.1.0.0";
src = fetchurl {
url = "ftp://ftp.nominum.com/pub/nominum/dnsperf/${version}/"
+ "dnsperf-src-${version}-1.tar.gz";
sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4";
};
outputs = [ "out" "doc" ];
buildInputs = [ bind libseccomp zlib ];
postInstall = ''
mkdir -p "$out/share/doc/"
cp -r ./doc "$out/share/doc/dnsperf"
'';
meta = with stdenv.lib; {
outputsToInstall = outputs; # The man pages and PDFs are likely useful to most.
description = "Tools for DNS benchmaring";
homepage = https://nominum.com/measurement-tools/;
license = licenses.isc;
platforms = platforms.unix;
maintainers = [ maintainers.vcunat ];
};
}

View File

@ -1434,6 +1434,8 @@ with pkgs;
dnsmasq = callPackage ../tools/networking/dnsmasq { };
dnsperf = callPackage ../tools/networking/dnsperf { };
dnstop = callPackage ../tools/networking/dnstop { };
dhcp = callPackage ../tools/networking/dhcp { };