<commit_before>{ stdenv, fetchurl, zlib, xz }:

assert zlib != null;

stdenv.mkDerivation rec {
  name = "libpng-1.2.46";
  
  src = fetchurl {
    url = "mirror://sourceforge/libpng/${name}.tar.xz";
    sha256 = "0rcx4v4khdkrvz7b02fmx7lab2pk1lal4dhx9widv36b7g2xvwzn";
  };
  
  propagatedBuildInputs = [ zlib ];

  buildNativeInputs = [ xz ];

  passthru = { inherit zlib; };
  <commit_msg>Add a notice about libpng branch<commit_after>{ stdenv, fetchurl, zlib, xz }:

assert zlib != null;

# If you want to upgrade libpng, look at libpng15 branch
stdenv.mkDerivation rec {
  name = "libpng-1.2.46";
  
  src = fetchurl {
    url = "mirror://sourceforge/libpng/${name}.tar.xz";
    sha256 = "0rcx4v4khdkrvz7b02fmx7lab2pk1lal4dhx9widv36b7g2xvwzn";
  };
  
  propagatedBuildInputs = [ zlib ];

  buildNativeInputs = [ xz ];

  passthru = { inherit zlib; };
  
{'fraction_non_alphanumeric': 0.13286713286713286, 'fraction_numerical': 0.053613053613053616, 'mean_word_length': 3.593582887700535, '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': '7311543', 'n_tokens_mistral': 384, 'n_tokens_neox': 368, 'n_words': 65}