<commit_before>{stdenv, fetchgit, flex, bison, cmake, git, zlib}:

stdenv.mkDerivation rec {

  version = "2016-05-19";
  name = "pbrt-v3-${version}";
  src = fetchgit {
    url = "https://github.com/mmp/pbrt-v3.git";
    rev = "638249e5cf4596e129695c8df8525d43f11573ff";
    sha256 = "10ykqrg4zcfb4sfsg3z793c6vld6b6g8bzfyk7ya3yvvc9sdlr5g";
  };

  fetchSubmodules = true;

  buildInputs = [ git flex bison cmake zlib ];

  meta = {
    homepage = "http://pbrt.org";
    description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
    platforms = stdenv.lib.platforms.linux ;
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.juliendehos ];
    priority = 10;
  };
}<commit_msg>pbrt: 2016-05-19 -> 2017-01-12 (#23405)<commit_after>{stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}:

stdenv.mkDerivation rec {

  version = "2017-01-12";
  name = "pbrt-v3-${version}";

  src = fetchFromGitHub {
    rev = "35b6da3429526f2026fe5e5ebaf36d593e113028";
    owner  = "mmp";
    repo   = "pbrt-v3";
    sha256 = "10lvbph13p6ilzqb8sgrvn9gg1zmi8wpy3hhjbqp8dnsa4x0mhj7";
    fetchSubmodules = true;
  };

  buildInputs = [ git flex bison cmake zlib ];

  meta = with stdenv.lib; {
    homepage = "http://pbrt.org";
    description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
    platforms = platforms.linux ;
    license = licenses.bsd2;
    maintainers = [ maintainers.juliendehos ];
    priority = 10;
  };
}
{'fraction_non_alphanumeric': 0.12515723270440252, 'fraction_numerical': 0.08742138364779874, 'mean_word_length': 3.665689149560117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '4218912', 'n_tokens_mistral': 708, 'n_tokens_neox': 618, 'n_words': 123}