<commit_before>{stdenv, fetchFromGitHub, cmake}:

stdenv.mkDerivation rec {
  version = "1.3.0";
  pname = "nanoflann";
  
  src = fetchFromGitHub {
    owner = "jlblancoc";
    repo = "nanoflann";
    rev = "v${version}";
    sha256 = "1bwdmrz1qygp9qy2nzrp1axa1i4nvm0ljkn6mnhlcvbfsyvhzigv";
  };

  buildInputs = [ cmake ];

  doCheck = true;
  checkTarget = "test";

  meta = {
    homepage = https://github.com/jlblancoc/nanoflann;
    license = stdenv.lib.licenses.bsd3;
    description = "Header only C++ library for approximate nearest neighbor search";
    platforms = stdenv.lib.platforms.unix;
  };
}<commit_msg>nanoflann: 1.3.0 -> 1.3.1<commit_after>{stdenv, fetchFromGitHub, cmake}:

stdenv.mkDerivation rec {
  version = "1.3.1";
  pname = "nanoflann";
  
  src = fetchFromGitHub {
    owner = "jlblancoc";
    repo = "nanoflann";
    rev = "v${version}";
    sha256 = "07vi3yn5y9zk9acdbxy954ghdml15wnyqfizzqwsw8zmc9bf30ih";
  };

  buildInputs = [ cmake ];

  cmakeFlags = [
    "-DBUILD_EXAMPLES=OFF"
  ];

  doCheck = true;
  checkTarget = "test";

  meta = {
    homepage = "https://github.com/jlblancoc/nanoflann";
    license = stdenv.lib.licenses.bsd2;
    description = "Header only C++ library for approximate nearest neighbor search";
    platforms = stdenv.lib.platforms.unix;
  };
}
{'fraction_non_alphanumeric': 0.13859111791730475, 'fraction_numerical': 0.033690658499234305, 'mean_word_length': 3.445578231292517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5209922', 'n_tokens_mistral': 546, 'n_tokens_neox': 514, 'n_words': 88}