lol
1{ stdenv, fetchurl, libpcap, ncurses }:
2
3stdenv.mkDerivation rec {
4 name = "dnstop-20140915";
5
6 src = fetchurl {
7 url = "http://dns.measurement-factory.com/tools/dnstop/src/${name}.tar.gz";
8 sha256 = "0yn5s2825l826506gclbcfk3lzllx9brk9rzja6yj5jv0013vc5l";
9 };
10
11 buildInputs = [ libpcap ncurses ];
12
13 preInstall = ''
14 mkdir -p $out/share/man/man8 $out/bin
15 '';
16
17 meta = {
18 description = "libpcap application that displays DNS traffic on your network";
19 homepage = http://dns.measurement-factory.com/tools/dnstop;
20 license = stdenv.lib.licenses.bsd3;
21 };
22}