about summary refs log tree commit diff
path: root/pkgs/tools/networking/dnstop/default.nix
blob: 00984a4ee70abb723aeb46f92d2d0d3aa8e5260d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, libpcap, ncurses }:

stdenv.mkDerivation {
  name = "dnstop-20121017";

  src = fetchurl {
    url = http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20121017.tar.gz;
    sha256 = "1xjrz4dzwshfrlc226s390sbwd10j0pl2al09d62955b6xh2vvba";
  };

  buildInputs = [ libpcap ncurses ];

  preInstall = ''
    mkdir -p $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";
  };
}