<commit_before>{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:

stdenv.mkDerivation rec {
  name = "gphoto2-2.4.2";
  
  src = fetchurl {
    url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
    sha256 = "0wna84rli816d830hirdv3ficr3q16zs471l725rgsdvc4pqrvy9";
  };
  
  buildInputs = [pkgconfig libgphoto2 libexif popt gettext libjpeg readline libtool];
  
  # There is a bug in 2.4.0 configure.ac (in their m4 macroses)
  #patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";<commit_msg>* gphoto2 updated to 2.4.5.<commit_after>{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:

stdenv.mkDerivation rec {
  name = "gphoto2-2.4.5";
  
  src = fetchurl {
    url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
    sha256 = "0bjbgz9n7ijf8167i1bm7q3pg366axgx5zydck13d2znhd30x069";
  };
  
  buildInputs = [pkgconfig libgphoto2 libexif popt gettext libjpeg readline libtool];
  
  # There is a bug in 2.4.0 configure.ac (in their m4 macroses)
  #patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";
{'fraction_non_alphanumeric': 0.12784588441331, 'fraction_numerical': 0.06567425569176882, 'mean_word_length': 4.243119266055046, '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': '6804274', 'n_tokens_mistral': 507, 'n_tokens_neox': 471, 'n_words': 99}