<commit_before>{ stdenv, fetchurl, xproto, libXt, libX11, gifview ? false, static ? false }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "gifsicle-${version}";
  version = "1.90";

  src = fetchurl {
    url = "http://www.lcdf.org/gifsicle/${name}.tar.gz";
    sha256 = "0kc35g99fygzjj7qjcy87rdb8mbgmacr2mga9ihgln1dfnbb0wrd";
  };

  buildInputs = optional gifview [ xproto libXt libX11 ];

  configureFlags = []
    ++ optional (!gifview) [ "--disable-gifview" ];

  LDFLAGS = optional static "-static";

  doCheck = true;
  checkPhase = ''
    ./src/gifsicle --info logo.gif
  '';
<commit_msg>gifsicle: 1.90 -> 1.91 (#36536)<commit_after>{ stdenv, fetchurl, xproto, libXt, libX11, gifview ? false, static ? false }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "gifsicle-${version}";
  version = "1.91";

  src = fetchurl {
    url = "http://www.lcdf.org/gifsicle/${name}.tar.gz";
    sha256 = "00586z1yz86qcblgmf16yly39n4lkjrscl52hvfxqk14m81fckha";
  };

  buildInputs = optional gifview [ xproto libXt libX11 ];

  configureFlags = []
    ++ optional (!gifview) [ "--disable-gifview" ];

  LDFLAGS = optional static "-static";

  doCheck = true;
  checkPhase = ''
    ./src/gifsicle --info logo.gif
  '';

{'fraction_non_alphanumeric': 0.15960912052117263, 'fraction_numerical': 0.05130293159609121, 'mean_word_length': 3.4854014598540144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '5541207', 'n_tokens_mistral': 533, 'n_tokens_neox': 490, 'n_words': 91}