2008-04-12 14:44:56 +02:00
|
|
|
{stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison}:
|
2007-05-14 01:24:34 +02:00
|
|
|
|
2010-10-07 09:56:00 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-11-20 21:51:29 +01:00
|
|
|
version = "1.4.2";
|
2010-10-07 09:56:00 +02:00
|
|
|
name = "wireshark-${version}";
|
2007-05-14 01:24:34 +02:00
|
|
|
src = fetchurl {
|
2010-10-07 09:56:00 +02:00
|
|
|
url = "http://www.wireshark.org/download/src/${name}.tar.bz2";
|
2010-11-20 21:51:29 +01:00
|
|
|
sha256 = "1cj9n3yhahj6pabx1h1gas6b6dhwsljjz2w3ngky3a4g6bnf3ij4";
|
2007-05-14 01:24:34 +02:00
|
|
|
};
|
2009-02-12 21:28:01 +01:00
|
|
|
configureFlags = "--with-pcap=${libpcap}";
|
2008-04-12 14:44:56 +02:00
|
|
|
buildInputs = [perl pkgconfig gtk libpcap flex bison];
|
2007-05-14 01:24:34 +02:00
|
|
|
}
|