summary refs log tree commit diff
path: root/pkgs/tools/networking/dnstop
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-11-03 18:43:48 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-11-03 18:43:48 +0000
commit15c16f50aaaad3ae652a634dc5ec94479fc33d05 (patch)
treea6076d117da40502222159c1dbf304fb47a3b033 /pkgs/tools/networking/dnstop
parent583fbe814fa7bd7eef131e2a6238b40404decc4a (diff)
downloadnixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar.gz
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar.bz2
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar.lz
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar.xz
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.tar.zst
nixpkgs-15c16f50aaaad3ae652a634dc5ec94479fc33d05.zip
Adding dnstop
svn path=/nixpkgs/trunk/; revision=30209
Diffstat (limited to 'pkgs/tools/networking/dnstop')
-rw-r--r--pkgs/tools/networking/dnstop/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dnstop/default.nix b/pkgs/tools/networking/dnstop/default.nix
new file mode 100644
index 00000000000..cdab68f22ea
--- /dev/null
+++ b/pkgs/tools/networking/dnstop/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, libpcap, ncurses }:
+
+stdenv.mkDerivation {
+  name = "dnstop-20110502";
+
+  src = fetchurl {
+    url = http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20110502.tar.gz;
+    sha256 = "0ra3xjf7dwvq5xm6qbqd2al35vigibihy46rsz1860qrn3wycy12";
+  };
+
+  buildInputs = [ libpcap ncurses ];
+
+  preInstall = ''
+    ensureDir $out/share/man/man8 $out/bin
+  '';
+
+  meta = { 
+    description = "libpcap application that displays DNS traffic on your network";
+    homepage = "http://dns.measurement-factory.com/tools/dnstop";
+    license = "BSD";
+  };
+}