diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-03 18:43:48 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-03 18:43:48 +0000 |
commit | 15c16f50aaaad3ae652a634dc5ec94479fc33d05 (patch) | |
tree | a6076d117da40502222159c1dbf304fb47a3b033 /pkgs/tools/networking/dnstop | |
parent | 583fbe814fa7bd7eef131e2a6238b40404decc4a (diff) |
Adding dnstop
svn path=/nixpkgs/trunk/; revision=30209
Diffstat (limited to 'pkgs/tools/networking/dnstop')
-rw-r--r-- | pkgs/tools/networking/dnstop/default.nix | 22 |
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 0000000000000..cdab68f22ea9d --- /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"; + }; +} |