<commit_before>{stdenv, fetchurl, libevent, openssl, zlib}:

stdenv.mkDerivation {
  name = "tor-0.2.1.26";

  src = fetchurl {
    url = "http://www.torproject.org/dist/tor-0.2.1.26.tar.gz";
    sha256 = "18kz1hs6lvckkddy4y36gi7ly03ar2il2xzkrf8bfgif1gnn1p3c";
  };

  patchPhase =
    # DNS lookups fail in chroots.
    '' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g
    '';

  buildInputs = [libevent openssl zlib];

  doCheck = true;

  meta = {
    homepage = http://www.torproject.org/;
    description = "Tor is an onion router enabling Internet anonymity by thwarting network traffic analysis";
    longDescription=''
     Tor protects you by bouncing your communications around a distributed 
     network of relays run by volunteers all around the world: it prevents 
     somebody watching your Internet connection from learning what sites you 
     visit, and it prevents the sites you visit from learning your physical 
     location. Tor works with many of your existing applications, including 
     web browsers, instant messaging clients, remote login, and other 
     applications based on the TCP protocol. 
    '';
    license="bsd";
  };

}<commit_msg>tor: Add self as co-maintainer; add to Hydra; improve formatting.<commit_after>{ stdenv, fetchurl, libevent, openssl, zlib }:

stdenv.mkDerivation rec {
  name = "tor-0.2.1.26";

  src = fetchurl {
    url = "http://www.torproject.org/dist/${name}.tar.gz";
    sha256 = "18kz1hs6lvckkddy4y36gi7ly03ar2il2xzkrf8bfgif1gnn1p3c";
  };

  patchPhase =
    # DNS lookups fail in chroots.
    '' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g
    '';

  buildInputs = [ libevent openssl zlib ];

  doCheck = true;

  meta = {
    homepage = http://www.torproject.org/;
    description = "Tor, an anonymous network router to improve privacy on the Internet";

    longDescription=''
      Tor protects you by bouncing your communications around a distributed
      network of relays run by volunteers all around the world: it prevents
      somebody watching your Internet connection from learning what sites you
      visit, and it prevents the sites you visit from learning your physical
      location. Tor works with many of your existing applications, including
      web browsers, instant messaging clients, remote login, and other
      applications based on the TCP protocol.
    '';

    license="mBSD";

    maintainers =
      [ # <NAME> <<EMAIL>> ?
	stdenv.lib.maintainers.ludo
      ];
    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
  };
}
{'fraction_non_alphanumeric': 0.09456264775413711, 'fraction_numerical': 0.0256107171000788, 'mean_word_length': 3.1486928104575163, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 5, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5377561', 'n_tokens_mistral': 830, 'n_tokens_neox': 775, 'n_words': 253}