wireshark: the gtk3 build fails, so use gtk2
Duh, this is much more difficult than I would have thought.
This commit is contained in:
parent
ac2a215c10
commit
ca73a92578
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares
|
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares
|
||||||
, gnutls, libgcrypt, geoip, heimdal, lua5, gtk3, makeDesktopItem
|
, gnutls, libgcrypt, geoip, heimdal, lua5, gtk, makeDesktopItem, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.11.2"; in
|
let version = "1.11.2"; in
|
||||||
|
@ -14,10 +14,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bison flex perl pkgconfig libpcap lua5 heimdal libgcrypt gnutls
|
bison flex perl pkgconfig libpcap lua5 heimdal libgcrypt gnutls
|
||||||
geoip libnl c-ares gtk3
|
geoip libnl c-ares gtk python
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = "--disable-usr-local --disable-silent-rules --with-gtk3 --without-qt --with-ssl";
|
configureFlags = "--disable-usr-local --disable-silent-rules --with-gtk2 --without-gtk3 --without-qt --with-ssl";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "Wireshark";
|
name = "Wireshark";
|
||||||
|
@ -36,6 +36,8 @@ stdenv.mkDerivation {
|
||||||
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
|
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.wireshark.org/;
|
homepage = http://www.wireshark.org/;
|
||||||
description = "a powerful network protocol analyzer";
|
description = "a powerful network protocol analyzer";
|
||||||
|
|
Loading…
Reference in New Issue