<commit_before>{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:

stdenv.mkDerivation rec {
  name = "gede-${version}";
  version = "2.0.3";

  src = fetchurl {
    url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
    sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
  };

  nativeBuildInputs = [ makeWrapper python ];

  buildInputs = [ qt4 ];

  postPatch = ''
    sed -i build.py -e 's,qmake-qt4,qmake,'<commit_msg>gede: 2.0.3 -> 2.0.4<commit_after>{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:

stdenv.mkDerivation rec {
  name = "gede-${version}";
  version = "2.0.4";

  src = fetchurl {
    url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
    sha256 = "0ip86ss35sc330p4aykv5qj74jbdwh38i928w1bxb6g3w0xmfqba";
  };

  nativeBuildInputs = [ makeWrapper python ];

  buildInputs = [ qt4 ];

  postPatch = ''
    sed -i build.py -e 's,qmake-qt4,qmake,'
{'fraction_non_alphanumeric': 0.1657638136511376, 'fraction_numerical': 0.06608884073672806, 'mean_word_length': 3.64321608040201, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5541306', 'n_tokens_mistral': 433, 'n_tokens_neox': 404, 'n_words': 63}