<commit_before>{ stdenv, fetchurl, ncurses }:

stdenv.mkDerivation rec {
  name = "minicom-2.4";

  src = fetchurl {
    url = "http://alioth.debian.org/frs/download.php/3195/${name}.tar.gz";
    sha256 = "0j0ayimh3389pciqs60fsfafn87p9gnmmmqz15xq9fkkn10g4ykb";
  };

  buildInputs = [ncurses];

  configureFlags = [ "--sysconfdir=/etc" "--enable-lock-dir=/var/lock" ];

  preConfigure =
    # Have `configure' assume that the lock directory exists.
    '' sed -i "configure" -e's/test -d \$UUCPLOCK/true/g'
    '';

  meta = {
    description = "Minicom, a modem control and terminal emulation program";
    homepage = http://alioth.debian.org/projects/minicom/;

    longDescription =
      '' Minicom is a menu driven communications program.  It emulates ANSI
         and VT102 terminals.  It has a dialing directory and auto zmodem
         download.
      '';

    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
  };
}<commit_msg>minicom: 2.4 -> 2.6.2<commit_after>{ stdenv, fetchurl, ncurses }:

stdenv.mkDerivation rec {
  name = "minicom-2.6.2";

  src = fetchurl {
    url = "http://alioth.debian.org/frs/download.php/file/3869/${name}.tar.gz";
    sha256 = "0s4ibk8scspm8a0raf5s4zgp9b82c4bn529rir9abzqlg5gj3kzk";
  };

  buildInputs = [ncurses];

  configureFlags = [ "--sysconfdir=/etc" "--enable-lock-dir=/var/lock" ];

  preConfigure =
    # Have `configure' assume that the lock directory exists.
    '' sed -i "configure" -e's/test -d \$UUCPLOCK/true/g'
    '';

  meta = {
    description = "Minicom, a modem control and terminal emulation program";
    homepage = http://alioth.debian.org/projects/minicom/;

    longDescription =
      '' Minicom is a menu driven communications program.  It emulates ANSI
         and VT102 terminals.  It has a dialing directory and auto zmodem
         download.
      '';

    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
  };
}
{'fraction_non_alphanumeric': 0.1331934976402727, 'fraction_numerical': 0.033560566334556896, 'mean_word_length': 2.95850622406639, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2214254', 'n_tokens_mistral': 729, 'n_tokens_neox': 682, 'n_words': 148}