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