about summary refs log tree commit diff
path: root/pkgs/applications/networking/sniffers
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-11-14 15:11:23 +0000
committerPeter Simons <simons@cryp.to>2011-11-14 15:11:23 +0000
commit1a4f43c7b3982a32339f6e860f18681941354c56 (patch)
tree6ae0a16d73b6d441713734ac87d4ed7af06bf19f /pkgs/applications/networking/sniffers
parent1c63e1ca838a0726f88d66395bb094395a42a0e7 (diff)
downloadnixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar.gz
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar.bz2
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar.lz
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar.xz
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.tar.zst
nixlib-1a4f43c7b3982a32339f6e860f18681941354c56.zip
wireshark: updated to version 1.6.2
svn path=/nixpkgs/trunk/; revision=30426
Diffstat (limited to 'pkgs/applications/networking/sniffers')
-rw-r--r--pkgs/applications/networking/sniffers/wireshark/default.nix39
1 files changed, 32 insertions, 7 deletions
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix
index 53710c54eafb..aca0203ca6c9 100644
--- a/pkgs/applications/networking/sniffers/wireshark/default.nix
+++ b/pkgs/applications/networking/sniffers/wireshark/default.nix
@@ -1,12 +1,37 @@
-{stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison}:
+{ stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison
+, gnutls, libgcrypt, glib, zlib, libxml2, libxslt, adns, geoip
+, heimdal, python, lynx, lua5
+}:
 
-stdenv.mkDerivation rec {
-  version = "1.4.2";
+let
+  version = "1.6.2";
+in
+stdenv.mkDerivation {
   name = "wireshark-${version}";
+
   src = fetchurl {
-    url = "http://www.wireshark.org/download/src/${name}.tar.bz2";
-    sha256 = "1cj9n3yhahj6pabx1h1gas6b6dhwsljjz2w3ngky3a4g6bnf3ij4";
+    url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
+    sha256 = "0zqy8ws05xz36y49azf5lrwzgfz26h7f8d27xjc89hlqrqagahsk";
+  };
+
+  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 ];
   };
-  configureFlags = "--with-pcap=${libpcap}";
-  buildInputs = [perl pkgconfig gtk libpcap flex bison];
 }