wireshark: add desktop item
And fix a small "ethereal" typo.
This commit is contained in:
parent
dc28cdf721
commit
af6503b2af
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison
|
{ stdenv, fetchurl, perl, pkgconfig, gtk, libpcap, flex, bison
|
||||||
, gnutls, libgcrypt, glib, zlib, libxml2, libxslt, adns, geoip
|
, gnutls, libgcrypt, glib, zlib, libxml2, libxslt, adns, geoip
|
||||||
, heimdal, python, lynx, lua5
|
, heimdal, python, lynx, lua5
|
||||||
|
, makeDesktopItem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.8.6"; in
|
let version = "1.8.6"; in
|
||||||
@ -20,13 +21,30 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
configureFlags = "--disable-usr-local --with-ssl --enable-threads --enable-packet-editor";
|
configureFlags = "--disable-usr-local --with-ssl --enable-threads --enable-packet-editor";
|
||||||
|
|
||||||
|
desktopItem = makeDesktopItem {
|
||||||
|
name = "Wireshark";
|
||||||
|
exec = "wireshark";
|
||||||
|
icon = "wireshark";
|
||||||
|
comment = "Powerful network protocol analysis suite";
|
||||||
|
desktopName = "Wireshark";
|
||||||
|
genericName = "Network packet analyzer";
|
||||||
|
categories = "Network;System";
|
||||||
|
};
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p "$out"/share/applications/
|
||||||
|
mkdir -p "$out"/share/icons/
|
||||||
|
cp "$desktopItem"/share/applications/* "$out"/share/applications/
|
||||||
|
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.wireshark.org/;
|
homepage = http://www.wireshark.org/;
|
||||||
description = "a powerful network protocol analyzer";
|
description = "a powerful network protocol analyzer";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Wireshark (formerly known as "Etherreal") is a powerful network
|
Wireshark (formerly known as "Ethereal") is a powerful network
|
||||||
protocol analyzer developed by an international team of networking
|
protocol analyzer developed by an international team of networking
|
||||||
experts. It runs on UNIX, OS X and Windows.
|
experts. It runs on UNIX, OS X and Windows.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user