<commit_before>{ stdenv, fetchFromGitHub, pkgconfig, qt4, libXtst, libvorbis, hunspell, libao, ffmpeg, libeb, lzo, xz, libtiff }:
stdenv.mkDerivation rec {
  name = "goldendict-1.5.0.ec86515";
  src = fetchFromGitHub {
    owner = "goldendict";
    repo = "goldendict";
    rev = "ec865158f5b7116f629e4d451a39ee59093eefa5";
    sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
  };

  buildInputs = [ pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff ];
  configurePhase = ''
    qmake PREFIX=$out 'CONFIG+=zim_support'
  '';

  meta = {
    homepage = http://goldendict.org/;
    description = "a feature-rich dictionary lookup program";

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.astsmtl ];
  };
}<commit_msg>goldendict: move to qmake4Hook<commit_after>{ stdenv, fetchFromGitHub, pkgconfig, qt4, qmake4Hook, libXtst, libvorbis, hunspell
, libao, ffmpeg, libeb, lzo, xz, libtiff }:
stdenv.mkDerivation rec {
  name = "goldendict-1.5.0.ec86515";
  src = fetchFromGitHub {
    owner = "goldendict";
    repo = "goldendict";
    rev = "ec865158f5b7116f629e4d451a39ee59093eefa5";
    sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
  };

  buildInputs = [
    pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb
    lzo xz libtiff qmake4Hook
  ];

  qmakeFlags = [ "CONFIG+=zim_support" ];

  meta = {
    homepage = http://goldendict.org/;
    description = "a feature-rich dictionary lookup program";

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.astsmtl ];
  };
}
{'fraction_non_alphanumeric': 0.11386138613861387, 'fraction_numerical': 0.07116336633663366, 'mean_word_length': 4.117088607594937, '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': '4431965', 'n_tokens_mistral': 721, 'n_tokens_neox': 666, 'n_words': 117}