summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-12-08 19:13:42 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-02-23 14:03:49 +0100
commit0bfbd039f989df1994728ab21a451b0b9dc5211c (patch)
tree87ec2148709e38d35116ae8f6d29ea85debe597f /pkgs/tools
parent037c489b107dd5af163ded65202d48ade6f83ccd (diff)
dnsperf: init at 2.1.0.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/dnsperf/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dnsperf/default.nix b/pkgs/tools/networking/dnsperf/default.nix
new file mode 100644
index 000000000000..c65e47a88b09
--- /dev/null
+++ b/pkgs/tools/networking/dnsperf/default.nix
@@ -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 ];
+ };
+}
+