2007-01-16 15:35:08 +01:00
|
|
|
{stdenv, fetchurl, libpcap}:
|
|
|
|
|
2008-09-01 15:00:24 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2008-09-01 15:10:26 +02:00
|
|
|
name = "tcpdump-3.9.4";
|
2008-09-01 15:00:24 +02:00
|
|
|
|
2007-01-16 15:35:08 +01:00
|
|
|
src = fetchurl {
|
2008-09-01 15:00:24 +02:00
|
|
|
url = "mirror://tcpdump/release/${name}.tar.gz";
|
2008-09-01 15:10:26 +02:00
|
|
|
sha256 = "1dbknf6ys7n3mmlb6klr0jh0jgnnq3zd9y44kjdxcbmbdjhp1rvy";
|
2007-01-16 15:35:08 +01:00
|
|
|
};
|
2008-09-01 15:00:24 +02:00
|
|
|
|
2007-01-16 15:35:08 +01:00
|
|
|
buildInputs = [libpcap];
|
2008-09-01 15:00:24 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "tcpdump, a famous network sniffer";
|
|
|
|
homepage = http://www.tcpdump.org/;
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
2007-01-16 15:35:08 +01:00
|
|
|
}
|