<commit_before>{ stdenv, fetchgit, pkgconfig, libpng, zlib, lcms2 }:

stdenv.mkDerivation rec {
  name = "pngquant-${version}";
  version = "2.9.1";

  src = fetchgit {
    url = "https://www.github.com/pornel/pngquant.git";
    rev = "refs/tags/${version}";
    sha256 = "0xhnrjsk55jy5q68f81y7l61c6x18i4fzkm3i4dgndrhri5g4n1q";
    fetchSubmodules = true;
  };

  buildInputs = [ pkgconfig libpng zlib lcms2 ];

  meta = with stdenv.lib; {
    homepage = https://pngquant.org/;
    description = "A tool to convert 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved";
    platforms = platforms.linux;
    license = licenses.gpl3;
    maintainers = [ maintainers.volth ];
  };
}<commit_msg>pngquant: restored 'patchShebangs' because build failed on Hydra<commit_after>{ stdenv, fetchgit, pkgconfig, libpng, zlib, lcms2 }:

stdenv.mkDerivation rec {
  name = "pngquant-${version}";
  version = "2.9.1";

  src = fetchgit {
    url = "https://www.github.com/pornel/pngquant.git";
    rev = "refs/tags/${version}";
    sha256 = "0xhnrjsk55jy5q68f81y7l61c6x18i4fzkm3i4dgndrhri5g4n1q";
    fetchSubmodules = true;
  };

  preConfigure = "patchShebangs .";

  buildInputs = [ pkgconfig libpng zlib lcms2 ];

  meta = with stdenv.lib; {
    homepage = https://pngquant.org/;
    description = "A tool to convert 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved";
    platforms = platforms.linux;
    license = licenses.gpl3;
    maintainers = [ maintainers.volth ];
  };
}
{'fraction_non_alphanumeric': 0.13101604278074866, 'fraction_numerical': 0.045454545454545456, 'mean_word_length': 3.5640243902439024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5437653', 'n_tokens_mistral': 611, 'n_tokens_neox': 565, 'n_words': 117}