<commit_before>{stdenv, fetchurl, static ? false}:

stdenv.mkDerivation {
  name = "zlib-1.2.3";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/zlib-1.2.3.tar.gz;
    md5 = "debc62758716a169df9f62e6ab2bc634";
  };
  configureFlags = if static then "" else "--shared";
}<commit_msg>* Hack for building zlib on Cygwin (NIXPKGS-28).<commit_after>{stdenv, fetchurl, static ? false}:

stdenv.mkDerivation {
  name = "zlib-1.2.3";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/zlib-1.2.3.tar.gz;
    md5 = "debc62758716a169df9f62e6ab2bc634";
  };
  configureFlags = if static then "" else "--shared";

  # zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
  cygwinConfigureEnableShared = true;
}
{'fraction_non_alphanumeric': 0.15436241610738255, 'fraction_numerical': 0.07248322147651007, 'mean_word_length': 3.576687116564417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6260862', 'n_tokens_mistral': 331, 'n_tokens_neox': 301, 'n_words': 57}