<commit_before>{ stdenv, fetchgit, qt47, subversion, apr}:

stdenv.mkDerivation rec {
  name = "svn2git";

  src = fetchgit {
    url = http://git.gitorious.org/svn2git/svn2git.git;
    rev = "197979b6a641b8b5fa4856c700b1235491c73a41";
    sha256 = "7be1a8f5822aff2d4ea7f415dce0b4fa8c6a82310acf24e628c5f1ada2d2d613";
  };

  buildPhase = ''
    qmake
    make CXXFLAGS='-I${apr}/include/apr-1 -I${subversion}/include/subversion-1 -DVER="\"${src.rev}\""'
  '';

  installPhase = ''
    ensureDir $out/bin
    cp svn-all-fast-export $out/bin
  '';

  buildInputs = [subversion apr qt47];
  
}<commit_msg>left over commit<commit_after>{ stdenv, fetchgit, qt47, subversion, apr}:

stdenv.mkDerivation rec {
  name = "svn2git";

  src = fetchgit {
    url = http://git.gitorious.org/svn2git/svn2git.git;
    rev = "197979b6a641b8b5fa4856c700b1235491c73a41";
    sha256 = "7be1a8f5822aff2d4ea7f415dce0b4fa8c6a82310acf24e628c5f1ada2d2d613";
  };

  buildPhase = ''
    sed -i 's|/bin/cat|cat|' ./src/repository.cpp
    qmake
    make CXXFLAGS='-I${apr}/include/apr-1 -I${subversion}/include/subversion-1 -DVER="\"${src.rev}\""'
  '';

  installPhase = ''
    ensureDir $out/bin
    cp svn-all-fast-export $out/bin
  '';

  buildInputs = [subversion apr qt47];
  
}
{'fraction_non_alphanumeric': 0.15433571996817821, 'fraction_numerical': 0.12092283214001591, 'mean_word_length': 3.6592592592592594, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '376620', 'n_tokens_mistral': 629, 'n_tokens_neox': 565, 'n_words': 74}