<commit_before>{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "thc-hydra-7.5";

  src = fetchurl {
    url = "http://www.thc.org/releases/${name}.tar.gz";
    sha256 = "1dhavbn2mcm6c2c1qw29ipbpmczax3vhhlxzwn49c8cq471yg4vj";
  };

  preConfigure = ''
   substituteInPlace configure --replace "\$LIBDIRS" "${openssl}/lib ${pcre}/lib ${libssh}/lib"
   substituteInPlace configure --replace "\$INCDIRS" "${openssl}/include ${pcre}/include ${libssh}/include"
  '';

  buildInputs = [ openssl libidn ncurses pcre libssh ];

  meta = {
    description = "A very fast network logon cracker which support many different services";
    license = licenses.agpl3;
    homepage = https://www.thc.org/thc-hydra/;
    maintainers = with maintainers; [offline];
    platforms = with platforms; unix;
  };
}<commit_msg>thc-hydra: fix download url<commit_after>{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "thc-hydra-${version}";
  version = "7.5";

  src = fetchurl {
    url = "http://www.thc.org/releases/hydra-${version}.tar.gz";
    sha256 = "1dhavbn2mcm6c2c1qw29ipbpmczax3vhhlxzwn49c8cq471yg4vj";
  };

  preConfigure = ''
   substituteInPlace configure --replace "\$LIBDIRS" "${openssl}/lib ${pcre}/lib ${libssh}/lib"
   substituteInPlace configure --replace "\$INCDIRS" "${openssl}/include ${pcre}/include ${libssh}/include"
  '';

  buildInputs = [ openssl libidn ncurses pcre libssh ];

  meta = {
    description = "A very fast network logon cracker which support many different services";
    license = licenses.agpl3;
    homepage = https://www.thc.org/thc-hydra/;
    maintainers = with maintainers; [offline];
    platforms = with platforms; unix;
  };
}
{'fraction_non_alphanumeric': 0.1474036850921273, 'fraction_numerical': 0.023450586264656615, 'mean_word_length': 3.9095890410958902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2354331', 'n_tokens_mistral': 694, 'n_tokens_neox': 657, 'n_words': 137}