git.iko.soy/typeable/nixpkgs
on master help sign in
wireshark-gtk: wrap properly
commit545e267adfc796bcceeb5c6702075fb2890cabe2 authorNikolay Amiantov <ab@fmap.me> dateThu 16 Mar 2017, 00:53 (10 years ago) parentef56873
1 file changed+9−5
pkgs/applications/networking/sniffers/wireshark/default.nix+9−5
pkgs/applications/networking/sniffers/wireshark/default.nix+9−5
@@ -1,7 +1,7 @@
11{ stdenv, lib, fetchurl, pkgconfig, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
22, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, makeDesktopItem, python, libcap, glib
33, libssh, zlib, cmake, extra-cmake-modules
4−, withGtk ? false, gtk3 ? null, pango ? null, cairo ? null, gdk_pixbuf ? null
4+, withGtk ? false, gtk3 ? null, librsvg ? null, gsettings_desktop_schemas ? null, wrapGAppsHook ? null
55, withQt ? false, qt5 ? null
66, ApplicationServices, SystemConfiguration, gmp
77}:
@@ -23,11 +23,15 @@ in stdenv.mkDerivation {
2323 sha256 = "049r5962yrajhhz9r4dsnx403dab50d6091y2mw298ymxqszp9s2";
2424 };
2525
26+ nativeBuildInputs = [
27+ bison cmake extra-cmake-modules flex
28+ ] ++ optional withGtk wrapGAppsHook;
29+
2630 buildInputs = [
27− bison cmake extra-cmake-modules flex gettext pcre perl pkgconfig libpcap lua5 libssh openssl libgcrypt libgpgerror gnutls
28− geoip c-ares python glib zlib
29− ] ++ (optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]))
30− ++ (optionals withGtk [ gtk3 pango cairo gdk_pixbuf ])
31+ gettext pcre perl pkgconfig libpcap lua5 libssh openssl libgcrypt
32+ libgpgerror gnutls geoip c-ares python glib zlib
33+ ] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ])
34+ ++ optionals withGtk [ gtk3 librsvg gsettings_desktop_schemas ]
3135 ++ optionals stdenv.isLinux [ libcap libnl ]
3236 ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ];
3337