<commit_before>{ stdenv, fetchurl, unzip, cmake}:

stdenv.mkDerivation rec {
  version = "1.7.0";
  name = "gmock-${version}";

  src = fetchurl {
    url = "https://googlemock.googlecode.com/files/${name}.zip";
    sha256="26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b";
  };

  buildInputs = [ unzip cmake ];

  configurePhase = ''
    mkdir build
    cd build
    cmake ../ -DCMAKE_INSTALL_PREFIX=$out
  '';

  buildPhase = ''
    # avoid building gtest
    make gmock gmock_main
  '';

  installPhase = ''
    mkdir -p $out/lib
    cp -v libgmock.a libgmock_main.a $out/lib
    cp -v -r ../include $out
    cp -v -r ../src $out
  '';

  meta = {
    description = "Google mock: Google's framework for writing C++ mock classes.";
    homepage = https://code.google.com/p/googlemock/;
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.auntie ];
  };
}
<commit_msg>Minor cleanup after merge<commit_after>{ stdenv, fetchurl, unzip, cmake}:

stdenv.mkDerivation rec {
  version = "1.7.0";
  name = "gmock-${version}";

  src = fetchurl {
    url = "https://googlemock.googlecode.com/files/${name}.zip";
    sha256="26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b";
  };

  buildInputs = [ unzip cmake ];

  buildPhase = ''
    # avoid building gtest
    make gmock gmock_main
  '';

  installPhase = ''
    mkdir -p $out/lib
    cp -v libgmock.a libgmock_main.a $out/lib
    cp -v -r ../include $out
    cp -v -r ../src $out
  '';

  meta = {
    description = "Google mock: Google's framework for writing C++ mock classes";
    homepage = https://code.google.com/p/googlemock/;
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.auntie ];
  };
}

{'fraction_non_alphanumeric': 0.14481969089868346, 'fraction_numerical': 0.053806525472238124, 'mean_word_length': 2.9105145413870246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2484371', 'n_tokens_mistral': 727, 'n_tokens_neox': 666, 'n_words': 134}