<commit_before>{ stdenv, fetchurl, perl, git }:

stdenv.mkDerivation rec {
  name = "gitolite-${version}";
  version = "3.6.1";

  src = fetchurl {
    url = "https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz";
    sha256 = "0sizzv705aypasi9vf9kmdbzcl3gmyfxg9dwdl5prn64biqkvq3y";
  };

  buildInputs = [ perl git ];
  buildPhase = "true";

  patchPhase = ''
    substituteInPlace ./install --replace " 2>/dev/null" ""
    substituteInPlace src/lib/Gitolite/Hooks/PostUpdate.pm \
      --replace /usr/bin/perl "${perl}/bin/perl"
    substituteInPlace src/lib/Gitolite/Hooks/Update.pm \
      --replace /usr/bin/perl "${perl}/bin/perl"
  '';

  installPhase = ''
    mkdir -p $out/bin
    perl ./install -to $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Finely-grained git repository hosting";
    homepage    = http://gitolite.com/gitolite/index.html;
    license     = licenses.gpl2;
    platforms   = platforms.unix;
    maintainers = [ maintainers.thoughtpolice ];
  };
}
<commit_msg>version-management/gitolite: Bump version 3.6.1 -> 3.6.2<commit_after>{ stdenv, fetchurl, perl, git }:

stdenv.mkDerivation rec {
  name = "gitolite-${version}";
  version = "3.6.2";

  src = fetchurl {
    url = "https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz";
    sha256 = "1gsgzi9ayb4rablki3mqr11b0h8db4xg43df660marfpacmkfb01";
  };

  buildInputs = [ perl git ];
  buildPhase = "true";

  patchPhase = ''
    substituteInPlace ./install --replace " 2>/dev/null" ""
    substituteInPlace src/lib/Gitolite/Hooks/PostUpdate.pm \
      --replace /usr/bin/perl "${perl}/bin/perl"
    substituteInPlace src/lib/Gitolite/Hooks/Update.pm \
      --replace /usr/bin/perl "${perl}/bin/perl"
  '';

  installPhase = ''
    mkdir -p $out/bin
    perl ./install -to $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Finely-grained git repository hosting";
    homepage    = http://gitolite.com/gitolite/index.html;
    license     = licenses.gpl2;
    platforms   = platforms.unix;
    maintainers = [ maintainers.thoughtpolice ];
  };
}

{'fraction_non_alphanumeric': 0.1555127587867116, 'fraction_numerical': 0.02407318247472316, 'mean_word_length': 2.958095238095238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '3312234', 'n_tokens_mistral': 813, 'n_tokens_neox': 767, 'n_words': 126}