Skip to content

Commit 834841c

Browse files
mkg20001worldofpeace
authored andcommitted
ettercap: fix pango not finding hb.h from harfbuzz (#75789)
(cherry picked from commit b9f7819)
1 parent b14e4e9 commit 834841c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • pkgs/applications/networking/sniffers/ettercap

pkgs/applications/networking/sniffers/ettercap/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ stdenv, fetchFromGitHub, cmake, libpcap, libnet, zlib, curl, pcre
2-
, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip
2+
, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip, harfbuzz
33
, pkgconfig }:
44

55
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
nativeBuildInputs = [ cmake flex bison pkgconfig ];
1818
buildInputs = [
1919
libpcap libnet zlib curl pcre openssl ncurses
20-
glib gtk3 atk pango geoip
20+
glib gtk3 atk pango geoip harfbuzz
2121
];
2222

2323
preConfigure = ''
@@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
3030
"-DGTK3_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
3131
];
3232

33+
# TODO: Remove after the next release (0.8.4 should work without this):
34+
NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ];
35+
3336
meta = with stdenv.lib; {
3437
description = "Comprehensive suite for man in the middle attacks";
3538
homepage = http://ettercap.github.io/ettercap/;

0 commit comments

Comments
 (0)