<commit_before>{ stdenv, fetchurl, openssl, perl, zlib }:
stdenv.mkDerivation rec {
  version = "3.2.0";
  name = "archiveopteryx-${version}";
  src = fetchurl {
    url = "http://archiveopteryx.org/download/${name}.tar.bz2";
    sha256 = "0i0zg8di8nbh96qnyyr156ikwcsq1w9b2291bazm5whb351flmqx";
  };
  buildInputs = [ openssl perl zlib ];
  installPhase = ''
    INSTALLROOT=$out make install
    mkdir $out/bin
    ln --symbolic $out/usr/local/archiveopteryx/sbin/* $out/bin/
    ln --symbolic $out/usr/local/archiveopteryx/bin/* $out/bin/
  '';
  meta = with stdenv.lib; {
    homepage = http://archiveopteryx.org/;
    description = "An advanced PostgreSQL-based IMAP/POP server";
    license = licenses.postgresql;
    maintainers = [ maintainers.phunehehe ];
  };
}<commit_msg>archiveopteryx: improve install paths, parallel build<commit_after>{ stdenv, fetchurl, openssl, perl, zlib, jam }:
stdenv.mkDerivation rec {
  version = "3.2.0";
  name = "archiveopteryx-${version}";

  src = fetchurl {
    url = "http://archiveopteryx.org/download/${name}.tar.bz2";
    sha256 = "0i0zg8di8nbh96qnyyr156ikwcsq1w9b2291bazm5whb351flmqx";
  };

  nativeBuildInputs = [ jam ];
  buildInputs = [ openssl perl zlib ];

  preConfigure = ''export PREFIX="$out" '';
  buildPhase = ''jam "-j$NIX_BUILD_CORES" '';
  installPhase = ''
    jam install
    mkdir -p "$out/share/doc/archiveopteryx"
    mv -t "$out/share/doc/archiveopteryx/" "$out"/{bsd.txt,COPYING,README}
  '';

  meta = with stdenv.lib; {
    homepage = http://archiveopteryx.org/;
    description = "An advanced PostgreSQL-based IMAP/POP server";
    license = licenses.postgresql;
    maintainers = [ maintainers.phunehehe ];
  };
}
{'fraction_non_alphanumeric': 0.14988151658767773, 'fraction_numerical': 0.030805687203791468, 'mean_word_length': 3.6786703601108033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6950586', 'n_tokens_mistral': 674, 'n_tokens_neox': 629, 'n_words': 112}