<commit_before>{ lib, stdenv, fetchgit }:
let
  lss = fetchgit {
    url = "https://chromium.googlesource.com/linux-syscall-support";
    rev = "d9ad2969b369a9f1c455fef92d04c7628f7f9eb8";
    sha256 = "952dv+ZE1ge/WF5RyHmEqht+AofoRHKAeFmGasVF9BA=";
  };
in stdenv.mkDerivation {
  pname = "breakpad";

  version = "unstable-3b3469e";

  src = fetchgit {
    url = "https://chromium.googlesource.com/breakpad/breakpad";
    rev = "3b3469e9ed0de3d02e4450b9b95014a4266cf2ff";
    sha256 = "bRGOBrGPK+Zxp+KK+E5MFkYlDUNVhVeInVSwq+eCAF0=";
  };

  postUnpack = ''
    ln -s ${lss} $sourceRoot/src/third_party/lss
  '';

  meta = with lib; {
    description = "An open-source multi-platform crash reporting system";
    homepage = "https://chromium.googlesource.com/breakpad";
    license = licenses.bsd3;
    maintainers = with maintainers; [ berberman ];
    platforms = platforms.all;
  };
}<commit_msg>breakpad: fix build w/glibc-2.34<commit_after>{ lib, stdenv, fetchgit }:
let
  lss = fetchgit {
    url = "https://chromium.googlesource.com/linux-syscall-support";
    rev = "d9ad2969b369a9f1c455fef92d04c7628f7f9eb8";
    sha256 = "952dv+ZE1ge/WF5RyHmEqht+AofoRHKAeFmGasVF9BA=";
  };
in stdenv.mkDerivation {
  pname = "breakpad";

  version = "unstable-3b3469e";

  src = fetchgit {
    url = "https://chromium.googlesource.com/breakpad/breakpad";
    rev = "3b3469e9ed0de3d02e4450b9b95014a4266cf2ff";
    sha256 = "bRGOBrGPK+Zxp+KK+E5MFkYlDUNVhVeInVSwq+eCAF0=";
  };

  postUnpack = ''
    ln -s ${lss} $sourceRoot/src/third_party/lss
  '';

  postPatch = ''
    substituteInPlace src/client/linux/handler/exception_handler.cc \
      --replace "max(16384" "max(static_cast<long>(16384)"
  '';

  meta = with lib; {
    description = "An open-source multi-platform crash reporting system";
    homepage = "https://chromium.googlesource.com/breakpad";
    license = licenses.bsd3;
    maintainers = with maintainers; [ berberman ];
    platforms = platforms.all;
  };
}
{'fraction_non_alphanumeric': 0.13807106598984772, 'fraction_numerical': 0.0766497461928934, 'mean_word_length': 3.878712871287129, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 6, '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': '5703103', 'n_tokens_mistral': 906, 'n_tokens_neox': 806, 'n_words': 113}