Loading pkgs/by-name/et/ettercap/package.nix +33 −37 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, fetchpatch2, atk, bison, cmake, libpcap, libnet, zlib, curl, pcre2, openssl, ncurses, glib, gtk3, atk, pango, fetchFromGitHub, flex, bison, geoip, glib, gtk3, harfbuzz, libmaxminddb, libnet, libpcap, ncurses, openssl, pango, pcre2, pkg-config, zlib, }: stdenv.mkDerivation rec { pname = "ettercap"; version = "0.8.3.1"; version = "0.8.4-unstable-2025-07-16"; src = fetchFromGitHub { owner = "Ettercap"; repo = "ettercap"; tag = "v${version}"; hash = "sha256-LDzsr1iEpy46b2VDZbYPTRIq15eiFlbBNCsGpLQOruk="; rev = "26ef2d2e1432b866460f9c4ddf9e4dce3db1a5ab"; hash = "sha256-T3LsOD2LGbk4f5un3l5Ybf5/kgYQJfw7lGa2UXB/brY="; }; patches = [ (fetchpatch2 { name = "curl-8.patch"; url = "https://github.com/Ettercap/ettercap/commit/9ec4066addc49483e40055e0738c2e0ef144702f.diff"; sha256 = "6D8lIxub0OS52BFr42yWRyqS2Q5CrpTLTt6rcItXFMM="; }) ]; strictDeps = true; nativeBuildInputs = [ bison cmake flex bison pkg-config ]; buildInputs = [ libpcap libnet zlib atk curl pcre2 openssl ncurses geoip glib gtk3 atk pango geoip harfbuzz libmaxminddb libnet libpcap ncurses openssl pango pcre2 zlib ]; preConfigure = '' substituteInPlace CMakeLists.txt --replace /etc \$\{INSTALL_PREFIX\}/etc \ --replace /usr \$\{INSTALL_PREFIX\} substituteInPlace CMakeLists.txt \ --replace-fail /etc \$\{INSTALL_PREFIX\}/etc \ --replace-fail /usr \$\{INSTALL_PREFIX\} ''; cmakeFlags = [ Loading @@ -87,7 +83,7 @@ stdenv.mkDerivation rec { analysis. ''; homepage = "https://www.ettercap-project.org/"; changelog = "https://github.com/Ettercap/ettercap/releases/tag/${src.tag}"; changelog = "https://github.com/Ettercap/ettercap/releases/tag/${version}"; license = licenses.gpl2Plus; platforms = platforms.unix; maintainers = with maintainers; [ pSub ]; Loading Loading
pkgs/by-name/et/ettercap/package.nix +33 −37 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, fetchpatch2, atk, bison, cmake, libpcap, libnet, zlib, curl, pcre2, openssl, ncurses, glib, gtk3, atk, pango, fetchFromGitHub, flex, bison, geoip, glib, gtk3, harfbuzz, libmaxminddb, libnet, libpcap, ncurses, openssl, pango, pcre2, pkg-config, zlib, }: stdenv.mkDerivation rec { pname = "ettercap"; version = "0.8.3.1"; version = "0.8.4-unstable-2025-07-16"; src = fetchFromGitHub { owner = "Ettercap"; repo = "ettercap"; tag = "v${version}"; hash = "sha256-LDzsr1iEpy46b2VDZbYPTRIq15eiFlbBNCsGpLQOruk="; rev = "26ef2d2e1432b866460f9c4ddf9e4dce3db1a5ab"; hash = "sha256-T3LsOD2LGbk4f5un3l5Ybf5/kgYQJfw7lGa2UXB/brY="; }; patches = [ (fetchpatch2 { name = "curl-8.patch"; url = "https://github.com/Ettercap/ettercap/commit/9ec4066addc49483e40055e0738c2e0ef144702f.diff"; sha256 = "6D8lIxub0OS52BFr42yWRyqS2Q5CrpTLTt6rcItXFMM="; }) ]; strictDeps = true; nativeBuildInputs = [ bison cmake flex bison pkg-config ]; buildInputs = [ libpcap libnet zlib atk curl pcre2 openssl ncurses geoip glib gtk3 atk pango geoip harfbuzz libmaxminddb libnet libpcap ncurses openssl pango pcre2 zlib ]; preConfigure = '' substituteInPlace CMakeLists.txt --replace /etc \$\{INSTALL_PREFIX\}/etc \ --replace /usr \$\{INSTALL_PREFIX\} substituteInPlace CMakeLists.txt \ --replace-fail /etc \$\{INSTALL_PREFIX\}/etc \ --replace-fail /usr \$\{INSTALL_PREFIX\} ''; cmakeFlags = [ Loading @@ -87,7 +83,7 @@ stdenv.mkDerivation rec { analysis. ''; homepage = "https://www.ettercap-project.org/"; changelog = "https://github.com/Ettercap/ettercap/releases/tag/${src.tag}"; changelog = "https://github.com/Ettercap/ettercap/releases/tag/${version}"; license = licenses.gpl2Plus; platforms = platforms.unix; maintainers = with maintainers; [ pSub ]; Loading