<commit_before>{stdenv, fetchurl, which, libjpeg
, withQt4 ? false, qt4 ? null}:

assert withQt4 -> qt4 != null;

stdenv.mkDerivation rec {
  name = "v4l-utils-0.8.8";

  src = fetchurl {
    url = "http://linuxtv.org/downloads/v4l-utils/${name}.tar.bz2";
    sha256 = "0zx8f1npsl6g5vjah1gwydg1j5azl74kr83ifbjhshgmnvscd92z";
  };

  buildInputs = [ libjpeg which ] ++ stdenv.lib.optional withQt4 qt4;

  # The keytable wants to touch /etc files and udev scripts in /lib.
  # I skip it.
  patchPhase = ''
    sed -i s/keytable// utils/Makefile
  '';

  installPhase = ''
    make PREFIX=$out install
  '';

  meta = {
    homepage = http://linuxtv.org/projects.php;
    description = "V4L utils and libv4l, that provides common image formats regardless of the v4l device";
    # (The libs are of LGPLv2.1+, some other pieces are GPL)
    license = "free";
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}<commit_msg>v4l-utils: updating. They didn't build in the new stdenv.<commit_after>{stdenv, fetchurl, which, libjpeg
, withQt4 ? false, qt4 ? null}:

assert withQt4 -> qt4 != null;

stdenv.mkDerivation rec {
  name = "v4l-utils-0.9.3";

  src = fetchurl {
    url = "http://linuxtv.org/downloads/v4l-utils/${name}.tar.bz2";
    sha256 = "0gaag38x47wlvmp4j60wgf9ma1rxzfyg7i12zxxxi4m3cpcb0bah";
  };

  buildInputs = [ libjpeg which ] ++ stdenv.lib.optional withQt4 qt4;

  # The keytable wants to touch /etc files and udev scripts in /lib.
  # I skip it.
  patchPhase = ''
    sed -i s/keytable// utils/Makefile.in
  '';

  installPhase = ''
    make PREFIX=$out install
  '';

  meta = {
    homepage = http://linuxtv.org/projects.php;
    description = "V4L utils and libv4l, that provides common image formats regardless of the v4l device";
    # (The libs are of LGPLv2.1+, some other pieces are GPL)
    license = "free";
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}
{'fraction_non_alphanumeric': 0.1286783042394015, 'fraction_numerical': 0.03541147132169576, 'mean_word_length': 3.241014799154334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5405978', 'n_tokens_mistral': 803, 'n_tokens_neox': 776, 'n_words': 188}