about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2019-12-16 20:53:52 +0100
committerMichael Weiss <dev.primeos@gmail.com>2020-02-24 18:31:23 +0100
commitb9f7819bd337491b0dda0ee6962653ef5d1a19b5 (patch)
tree4bf559c7ba1d58c1d941cc9827b5ecc87c05afef /pkgs/applications/networking
parentfd27f46cb34954462d4bf42be6e09508ab06491e (diff)
downloadnixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar.gz
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar.bz2
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar.lz
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar.xz
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.tar.zst
nixlib-b9f7819bd337491b0dda0ee6962653ef5d1a19b5.zip
ettercap: fix pango not finding hb.h from harfbuzz (#75789)
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/sniffers/ettercap/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/networking/sniffers/ettercap/default.nix b/pkgs/applications/networking/sniffers/ettercap/default.nix
index dbff491fa807..38b7f1c1740c 100644
--- a/pkgs/applications/networking/sniffers/ettercap/default.nix
+++ b/pkgs/applications/networking/sniffers/ettercap/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, cmake, libpcap, libnet, zlib, curl, pcre
-, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip
+, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip, harfbuzz
 , pkgconfig }:
 
 stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake flex bison pkgconfig ];
   buildInputs = [
     libpcap libnet zlib curl pcre openssl ncurses
-    glib gtk3 atk pango geoip
+    glib gtk3 atk pango geoip harfbuzz
   ];
 
   preConfigure = ''
@@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
     "-DGTK3_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
   ];
 
+  # TODO: Remove after the next release (0.8.4 should work without this):
+  NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ];
+
   meta = with stdenv.lib; {
     description = "Comprehensive suite for man in the middle attacks";
     homepage = http://ettercap.github.io/ettercap/;