summary refs log tree commit diff
path: root/pkgs/applications/networking/sniffers/wireshark/default.nix
blob: a5f0ddea28f6393e1231b97c5e09500519d63837 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison
, gnutls, libgcrypt, glib, zlib, libxml2, libxslt, adns, geoip
, heimdal, python, lynx, lua5
}:

let
  version = "1.8.3";
in
stdenv.mkDerivation {
  name = "wireshark-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
    sha256 = "1crg59kkxb7lw1wpfg52hd4l00hq56pyg7f40c7sgqmm0vsmza43";
  };

  buildInputs = [perl pkgconfig gtk libpcap flex bison gnutls libgcrypt
    glib zlib libxml2 libxslt adns geoip heimdal python lynx lua5
  ];

  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 ];
  };
}