<commit_before>{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "the_platinum_searcher-${version}";
  version = "2.1.5";
  rev = "v${version}";

  goPackagePath = "github.com/monochromegane/the_platinum_searcher";

  src = fetchFromGitHub {
    inherit rev;
    owner = "monochromegane";
    repo = "the_platinum_searcher";
    sha256 = "1y7kl3954dimx9hp2bf1vjg1h52hj1v6cm4f5nhrqzwrawp0b6q0";
  };

  goDeps = ./deps.nix;

  preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
    # fixes cycle between $out and $bin
    install_name_tool -delete_rpath $out/lib $bin/bin/pt
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/monochromegane/the_platinum_searcher;
    description = "A code search tool similar to ack and the_silver_searcher(ag).";
    platforms = platforms.all;
    license = licenses.mit;
  };
}<commit_msg>platinum-searcher: remove fixup for cycle<commit_after>{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "the_platinum_searcher-${version}";
  version = "2.1.5";
  rev = "v${version}";

  goPackagePath = "github.com/monochromegane/the_platinum_searcher";

  src = fetchFromGitHub {
    inherit rev;
    owner = "monochromegane";
    repo = "the_platinum_searcher";
    sha256 = "1y7kl3954dimx9hp2bf1vjg1h52hj1v6cm4f5nhrqzwrawp0b6q0";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    homepage = https://github.com/monochromegane/the_platinum_searcher;
    description = "A code search tool similar to ack and the_silver_searcher(ag).";
    platforms = platforms.all;
    license = licenses.mit;
  };
}
{'fraction_non_alphanumeric': 0.12034739454094293, 'fraction_numerical': 0.031017369727047148, 'mean_word_length': 4.056426332288401, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '405048', 'n_tokens_mistral': 644, 'n_tokens_neox': 623, 'n_words': 107}