From 37586a74824369de2d0f36c4062f1a63b410ec2e Mon Sep 17 00:00:00 2001 From: Justus Perlwitz Date: Tue, 20 Aug 2024 12:24:11 +0900 Subject: [PATCH] thc-hydra: add samba to enable smb2 support This allows using hydra with smb2. For example, to list all available smb2 module options in hydra, run: hydra -U smb2 --- pkgs/tools/security/thc-hydra/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/thc-hydra/default.nix b/pkgs/tools/security/thc-hydra/default.nix index 6d366fd3e80b..fc68205299fe 100644 --- a/pkgs/tools/security/thc-hydra/default.nix +++ b/pkgs/tools/security/thc-hydra/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, zlib, openssl, ncurses, libidn, pcre, libssh, libmysqlclient, postgresql +{ stdenv, lib, fetchFromGitHub, zlib, openssl, ncurses, libidn, pcre, libssh, libmysqlclient, postgresql, samba , withGUI ? false, makeWrapper, pkg-config, gtk2 }: stdenv.mkDerivation rec { @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { buildInputs = [ zlib openssl ncurses libidn pcre libssh libmysqlclient postgresql + samba ] ++ lib.optional withGUI gtk2; enableParallelBuilding = true;