<commit_before>{stdenv, fetchurl, emacs}:

stdenv.mkDerivation
{
  name = "maude-mode-0.1";
  src = fetchurl
  {
    url = "mirror://sourceforge/maude-mode/maude-mode.tar.gz";
    sha256 = "12555j01mar48da2jy3ay93xfn7ybl23bpvhp0srzg8858gisx5g";
  };
  buildInputs = [emacs];
  configureFlags = "--with-lispdir=$$out/share/emacs/site-lisp";
}<commit_msg>pkgs/applications/editors/emacs-modes/maude: updated to version 2<commit_after>{stdenv, fetchurl, emacs}:

stdenv.mkDerivation rec {
  name = "maude-mode-2.0";

  src = fetchurl   {
    url = "http://maude.cs.uiuc.edu/download/maude-mode2.el";
    sha256 = "0lq5p820pgky8i32005v91g0v9va9jwkv1jr6y4n8zc7bz1gyws6";
  };

  buildInputs = [/* emacs */];

  buildCommand = ''
    ensureDir "$out/share/emacs/site-lisp"
    substitute "${src}" "$out/share/emacs/site-lisp/maude-mode.el" --replace "/local/bin/maude" "maude"
  '';

  meta = {
    description = "Emacs mode for the programming language Maude";
    license = "GPLv2";
    platforms = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.simons ];
  };
}
{'fraction_non_alphanumeric': 0.15925925925925927, 'fraction_numerical': 0.053703703703703705, 'mean_word_length': 3.741228070175439, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5146790', 'n_tokens_mistral': 478, 'n_tokens_neox': 449, 'n_words': 59}