<commit_before>{ lib, stdenv, fetchFromGitHub, mono, gtk-sharp-2_0, pkg-config, makeWrapper, gnome2, gtk2 }:
stdenv.mkDerivation {
  version = "git-2014-08-20";
  pname = "supertux-editor";

  src = fetchFromGitHub {
    owner = "SuperTux";
    repo = "supertux-editor";
    rev = "0c666e8ccc7daf9e9720fe79abd63f8fa979c5e5";
    sha256 = "08y5haclgxvcii3hpdvn1ah8qd0f3n8xgxxs8zryj02b8n7cz3vx";
  };

  nativeBuildInputs = [ pkg-config makeWrapper ];
  buildInputs = [mono gtk-sharp-2_0 gnome2.libglade gtk2 ];

  installPhase = ''
    mkdir -p $out/bin $out/lib/supertux-editor
    cp *.{dll,dll.config,exe} $out/lib/supertux-editor
    makeWrapper "${mono}/bin/mono" $out/bin/supertux-editor \
      --add-flags "$out/lib/supertux-editor/supertux-editor.exe" \
      --prefix MONO_GAC_PREFIX : ${gtk-sharp-2_0} \
      --suffix LD_LIBRARY_PATH : $(echo $NIX_LDFLAGS | sed 's/ -L/:/g;s/ -rpath /:/g;s/-rpath //')

    makeWrapper "${mono}/bin/mono" $out/bin/supertux-editor-debug \
      --add-flags "--debug $out/lib/supertux-editor/supertux-editor.exe" \
      --prefix MONO_GAC_PREFIX : ${gtk-sharp-2_0} \
      --suffix LD_LIBRARY_PATH : $(echo $NIX_LDFLAGS | sed 's/ -L/:/g;s/ -rpath /:/g;s/-rpath //')
  '';

  # Always needed on Mono, otherwise nothing runs
  dontStrip = true;

  meta = with lib; {
    description = "Level editor for SuperTux";
    homepage = "https://github.com/SuperTux/supertux-editor";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ mathnerd314 ];
    platforms = platforms.linux;
  };
}<commit_msg>supertux-editor: mark as broken (#122781)<commit_after>{ lib, stdenv, fetchFromGitHub, mono, gtk-sharp-2_0, pkg-config, makeWrapper, gnome2, gtk2 }:
stdenv.mkDerivation {
  version = "git-2014-08-20";
  pname = "supertux-editor";

  src = fetchFromGitHub {
    owner = "SuperTux";
    repo = "supertux-editor";
    rev = "0c666e8ccc7daf9e9720fe79abd63f8fa979c5e5";
    sha256 = "08y5haclgxvcii3hpdvn1ah8qd0f3n8xgxxs8zryj02b8n7cz3vx";
  };

  nativeBuildInputs = [ pkg-config makeWrapper ];
  buildInputs = [mono gtk-sharp-2_0 gnome2.libglade gtk2 ];

  installPhase = ''
    mkdir -p $out/bin $out/lib/supertux-editor
    cp *.{dll,dll.config,exe} $out/lib/supertux-editor
    makeWrapper "${mono}/bin/mono" $out/bin/supertux-editor \
      --add-flags "$out/lib/supertux-editor/supertux-editor.exe" \
      --prefix MONO_GAC_PREFIX : ${gtk-sharp-2_0} \
      --suffix LD_LIBRARY_PATH : $(echo $NIX_LDFLAGS | sed 's/ -L/:/g;s/ -rpath /:/g;s/-rpath //')

    makeWrapper "${mono}/bin/mono" $out/bin/supertux-editor-debug \
      --add-flags "--debug $out/lib/supertux-editor/supertux-editor.exe" \
      --prefix MONO_GAC_PREFIX : ${gtk-sharp-2_0} \
      --suffix LD_LIBRARY_PATH : $(echo $NIX_LDFLAGS | sed 's/ -L/:/g;s/ -rpath /:/g;s/-rpath //')
  '';

  # Always needed on Mono, otherwise nothing runs
  dontStrip = true;

  meta = with lib; {
    description = "Level editor for SuperTux";
    homepage = "https://github.com/SuperTux/supertux-editor";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    broken = true;
  };
}
{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.04161290322580645, 'mean_word_length': 3.1792452830188678, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7244921', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1244, 'n_words': 208}