<commit_before>{ stdenv, fetchurl, qt4 }:

stdenv.mkDerivation rec {
  name = "libqglviewer-2.6.3";
  version = "2.6.3";

  src = fetchurl {
    url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
    sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
  };

  buildInputs = [ qt4 ];

  buildPhase =
    ''
      cd QGLViewer
      qmake PREFIX=$out
      make
    '';

  meta = with stdenv.lib; {
    description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
    homepage = http://libqglviewer.com/;
    license = licenses.gpl2;
    platforms = platforms.all;
  };
}<commit_msg>liqglviewer: move to qmake4Hook<commit_after>{ stdenv, fetchurl, qt4, qmake4Hook }:

stdenv.mkDerivation rec {
  name = "libqglviewer-2.6.3";
  version = "2.6.3";

  src = fetchurl {
    url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
    sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
  };

  buildInputs = [ qt4 qmake4Hook ];

  postPatch =
    ''
      cd QGLViewer
    '';

  meta = with stdenv.lib; {
    description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
    homepage = http://libqglviewer.com/;
    license = licenses.gpl2;
    platforms = platforms.all;
  };
}
{'fraction_non_alphanumeric': 0.133852140077821, 'fraction_numerical': 0.05058365758754864, 'mean_word_length': 3.0825396825396827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7654367', 'n_tokens_mistral': 553, 'n_tokens_neox': 522, 'n_words': 96}