2011-11-14 15:11:23 +00:00
|
|
|
{ stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison
|
|
|
|
, gnutls, libgcrypt, glib, zlib, libxml2, libxslt, adns, geoip
|
|
|
|
, heimdal, python, lynx, lua5
|
|
|
|
}:
|
2007-05-14 00:24:34 +01:00
|
|
|
|
2013-05-11 19:30:36 +01:00
|
|
|
let version = "1.8.6"; in
|
2013-02-27 14:07:28 +00:00
|
|
|
|
2011-11-14 15:11:23 +00:00
|
|
|
stdenv.mkDerivation {
|
2010-10-07 08:56:00 +01:00
|
|
|
name = "wireshark-${version}";
|
2011-11-14 15:11:23 +00:00
|
|
|
|
2007-05-14 00:24:34 +01:00
|
|
|
src = fetchurl {
|
2011-11-14 15:11:23 +00:00
|
|
|
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
2013-05-11 19:30:36 +01:00
|
|
|
sha256 = "1siifci4z7nxp6a1ghk2azw9v0hxi2vq26n3ms7n89kcj8zfs8i7";
|
2011-11-14 15:11:23 +00:00
|
|
|
};
|
|
|
|
|
2013-02-27 14:07:28 +00:00
|
|
|
buildInputs =
|
|
|
|
[ perl pkgconfig gtk libpcap flex bison gnutls libgcrypt
|
|
|
|
glib zlib libxml2 libxslt adns geoip heimdal python lynx lua5
|
|
|
|
];
|
2011-11-14 15:11:23 +00:00
|
|
|
|
|
|
|
configureFlags = "--disable-usr-local --with-ssl --enable-threads --enable-packet-editor";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://sourceforge.net/projects/wireshark/";
|
|
|
|
description = "a powerful network protocol analyzer";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Wireshark (formerly known as "Etherreal") is a powerful network
|
|
|
|
protocol analyzer developed by an international team of networking
|
|
|
|
experts. It runs on UNIX, OS X and Windows.
|
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2007-05-14 00:24:34 +01:00
|
|
|
};
|
|
|
|
}
|