<commit_before>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "snappy-1.1.1";
  
  src = fetchurl {
    url = "http://snappy.googlecode.com/files/${name}.tar.gz";
    sha256 = "1czscb5i003jg1amw3g1fmasv8crr5g3d922800kll8b3fj097yp";
  };

  # -DNDEBUG for speed
  preConfigure = ''
    configureFlagsArray=("CXXFLAGS=-DNDEBUG -O2")
  '';

  doCheck = true;

  meta = {
    homepage = http://code.google.com/p/snappy/;
    license = "BSD";
    description = "Compression/decompression library for very high speeds";
  };
}<commit_msg>snappy: 1.1.1 -> 1.1.2<commit_after>{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook }:

stdenv.mkDerivation rec {
  name = "snappy-1.1.2";
  
  src = fetchFromGitHub {
    owner = "google";
    repo = "snappy";
    rev = "1ff9be9b8fafc8528ca9e055646f5932aa5db9c4";
    sha256 = "1zyjj13max0z42g3ii54n3qn7rbcga34dbi26lpm7v5ya752shx7";
  };

  buildInputs = [ pkgconfig autoreconfHook ];

  preConfigure = ''
    sh autogen.sh
  '';

  # -DNDEBUG for speed
  configureFlags = [ "CXXFLAGS=-DNDEBUG" ];

  doCheck = true;

  meta = with stdenv.lib; {
    homepage = http://code.google.com/p/snappy/;
    license = licenses.bsd3;
    description = "Compression/decompression library for very high speeds";
    platforms = platforms.unix;
    maintainers = with maintainers; [ wkennington ];
  };
}
{'fraction_non_alphanumeric': 0.13656716417910447, 'fraction_numerical': 0.06343283582089553, 'mean_word_length': 3.39672131147541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '968846', 'n_tokens_mistral': 572, 'n_tokens_neox': 526, 'n_words': 87}