tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wireshark-qt: make wireshark-qt build and run again
Reno Reckling
10 years ago
28fd7afd
468f698f
+4
-5
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
sniffers
wireshark
default.nix
+4
-5
pkgs/applications/networking/sniffers/wireshark/default.nix
···
1
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares
2
, gnutls, libgcrypt, geoip, openssl, lua5, makeDesktopItem, python, libcap, glib
3
-
, withGtk ? false, gtk ? null
0
4
, withQt ? false, qt4 ? null
5
}:
6
···
24
25
buildInputs = [
26
bison flex perl pkgconfig libpcap lua5 openssl libgcrypt gnutls
27
-
geoip libnl c-ares python libcap glib
28
] ++ optional withQt qt4
29
-
++ optional withGtk gtk;
30
31
patches = [ ./wireshark-lookup-dumpcap-in-path.patch ];
32
···
52
mkdir -p "$out"/share/icons/
53
cp "$desktopItem/share/applications/"* "$out/share/applications/"
54
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
55
-
'' + optionalString withQt ''
56
-
mv "$out/bin/wireshark-qt" "$out/bin/wireshark"
57
'';
58
59
enableParallelBuilding = true;
···
1
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares
2
, gnutls, libgcrypt, geoip, openssl, lua5, makeDesktopItem, python, libcap, glib
3
+
, zlib
4
+
, withGtk ? false, gtk ? null, pango ? null, cairo ? null, gdk_pixbuf ? null
5
, withQt ? false, qt4 ? null
6
}:
7
···
25
26
buildInputs = [
27
bison flex perl pkgconfig libpcap lua5 openssl libgcrypt gnutls
28
+
geoip libnl c-ares python libcap glib zlib
29
] ++ optional withQt qt4
30
+
++ (optionals withGtk [gtk pango cairo gdk_pixbuf]);
31
32
patches = [ ./wireshark-lookup-dumpcap-in-path.patch ];
33
···
53
mkdir -p "$out"/share/icons/
54
cp "$desktopItem/share/applications/"* "$out/share/applications/"
55
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
0
0
56
'';
57
58
enableParallelBuilding = true;