<commit_before>x@{builderDefsPackage
  , qt4, openssl
  , xproto, libX11
  , ...}:
builderDefsPackage
(a :  
let 
  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
    [];

  buildInputs = map (n: builtins.getAttr n x)
    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
  sourceInfo = rec {
    version="1.0.2";
    baseName="vacuum";
    name="${baseName}-${version}";
    url="http://vacuum-im.googlecode.com/files/${name}-source.tar.gz";
    hash="01ndwxpgr8911f2nfyb6i7avmmlwfikn031q1s60js4lgbqdq3b7";
  };
in
rec {
  src = a.fetchurl {
    url = sourceInfo.url;
    sha256 = sourceInfo.hash;
  };

  inherit (sourceInfo) name version;
  inherit buildInputs;

  /* doConfigure should be removed if not needed */
  phaseNames = ["preBuild" "doQMake" "doMakeInstall"];

  preBuild = a.fullDepEntry (''
    echo "Fixing a name collision with a function added in Qt 4.7"
    sed -re 's/qHash[(][a-z ]*QUrl/vacuum_obsolete_&/' -i src/plugins/dataforms/dataforms.cpp
  '') ["minInit" "doUnpack"];

  goSrcDir = ''cd vacuum-*/'';

  doQMake = a.fullDepEntry (''<commit_msg>Update Vacuum-IM<commit_after>x@{builderDefsPackage
  , qt4, openssl
  , xproto, libX11, libXScrnSaver, scrnsaverproto
  , ...}:
builderDefsPackage
(a :  
let 
  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
    [];

  buildInputs = map (n: builtins.getAttr n x)
    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
  sourceInfo = rec {
    version="1.1.0";
    baseName="vacuum";
    name="${baseName}-${version}";
    url="http://vacuum-im.googlecode.com/files/${name}.tar.gz";
    hash="c956b0cf5cc0a1acee47a96f0b0e7ab5d716e48cac4a7fcbca496f901a219dcc";
  };
in
rec {
  src = a.fetchurl {
    url = sourceInfo.url;
    sha256 = sourceInfo.hash;
  };

  inherit (sourceInfo) name version;
  inherit buildInputs;

  /* doConfigure should be removed if not needed */
  phaseNames = ["preBuild" "doQMake" "doMakeInstall"];

  preBuild = a.fullDepEntry (''
    echo "Fixing a name collision with a function added in Qt 4.7"
    sed -re 's/qHash[(][a-z ]*QUrl/vacuum_obsolete_&/' -i src/plugins/dataforms/dataforms.cpp
  '') ["minInit" "doUnpack"];

  doQMake = a.fullDepEntry (''
{'fraction_non_alphanumeric': 0.1516523313716614, 'fraction_numerical': 0.03214124038026256, 'mean_word_length': 3.773218142548596, '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': '6440160', 'n_tokens_mistral': 880, 'n_tokens_neox': 838, 'n_words': 162}