<commit_before>{ stdenv, fetchurl, cmake, SDL, openal, zlib, libpng, python, libvorbis }:

assert stdenv.gcc.libc != null;

stdenv.mkDerivation rec {
  name = "gemrb-0.6.1";
  
  src = fetchurl {
    url = "mirror://sourceforge/gemrb/${name}.tar.gz";
    sha256 = "1jnid5nrasy0lglnx71zkvv2p59cxsnhvagy7r8lsmjild1k5l93";
  };

  buildInputs = [ cmake python openal SDL zlib libpng libvorbis ];

  # Necessary to find libdl.
  CMAKE_LIBRARY_PATH = "${stdenv.gcc.libc}/lib";

  # Can't have -werror because of the Vorbis header files.
  cmakeFlags = "-DDISABLE_WERROR=ON -DCMAKE_VERBOSE_MAKEFILE=ON";

  meta = {
    description = "A reimplementation of the Infinity Engine, used by games such as Baldur's Gate";
    homepage = http://gemrb.sourceforge.net/;
  };
}
<commit_msg>gemrb: update from 0.6.1 to 0.8.0.1<commit_after>{ stdenv, fetchurl, cmake, SDL, openal, zlib, libpng, python, libvorbis }:

assert stdenv.gcc.libc != null;

stdenv.mkDerivation rec {
  name = "gemrb-0.8.0.1";
  
  src = fetchurl {
    url = "mirror://sourceforge/gemrb/${name}.tar.gz";
    sha256 = "0v9iypls4iawnfkc91hcdnmc4vyg3ix7v7lmw3knv73q145v0ksd";
  };

  buildInputs = [ cmake python openal SDL zlib libpng libvorbis ];

  # Necessary to find libdl.
  CMAKE_LIBRARY_PATH = "${stdenv.gcc.libc}/lib";

  # Can't have -werror because of the Vorbis header files.
  cmakeFlags = "-DDISABLE_WERROR=ON -DCMAKE_VERBOSE_MAKEFILE=ON";

  meta = {
    description = "A reimplementation of the Infinity Engine, used by games such as Baldur's Gate";
    homepage = http://gemrb.sourceforge.net/;
  };
}

{'fraction_non_alphanumeric': 0.12770012706480305, 'fraction_numerical': 0.03176620076238882, 'mean_word_length': 3.801829268292683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6247150', 'n_tokens_mistral': 667, 'n_tokens_neox': 622, 'n_words': 137}