<commit_before>{ stdenv, fetchurl, ncurses, zlib
, openssl ? null
, sslSupport ? true
}:

with stdenv.lib;

assert sslSupport -> openssl != null;

stdenv.mkDerivation rec {
  name = "tinyfugue-${version}";
  version = "50b8";
  verUrl = "5.0%20beta%208";

  src = fetchurl {
    url = "mirror://sourceforge/project/tinyfugue/tinyfugue/${verUrl}/tf-${version}.tar.gz";
    sha256 = "12fra2fdwqj6ilv9wdkc33rkj343rdcf5jyff4yiwywlrwaa2l1p";
  };

  configureFlags = optional (!sslSupport) "--disable-ssl";

  buildInputs =
    [ ncurses zlib ]
    ++ optional sslSupport openssl;

  meta = {
    homepage = http://tinyfugue.sourceforge.net/;
    description = "A terminal UI, screen-oriented MUD client";
    longDescription = ''
      TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use
      with any type of text MUD.
    '';
    license = licenses.gpl2;
    platforms = ncurses.meta.platforms;
    maintainers = [ maintainers.KibaFox ];
  };
}<commit_msg>tinyfugue: only works on linux<commit_after>{ stdenv, fetchurl, ncurses, zlib
, openssl ? null
, sslSupport ? true
}:

with stdenv.lib;

assert sslSupport -> openssl != null;

stdenv.mkDerivation rec {
  name = "tinyfugue-${version}";
  version = "50b8";
  verUrl = "5.0%20beta%208";

  src = fetchurl {
    url = "mirror://sourceforge/project/tinyfugue/tinyfugue/${verUrl}/tf-${version}.tar.gz";
    sha256 = "12fra2fdwqj6ilv9wdkc33rkj343rdcf5jyff4yiwywlrwaa2l1p";
  };

  configureFlags = optional (!sslSupport) "--disable-ssl";

  buildInputs =
    [ ncurses zlib ]
    ++ optional sslSupport openssl;

  meta = {
    homepage = http://tinyfugue.sourceforge.net/;
    description = "A terminal UI, screen-oriented MUD client";
    longDescription = ''
      TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use
      with any type of text MUD.
    '';
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.KibaFox ];
  };
}
{'fraction_non_alphanumeric': 0.1336734693877551, 'fraction_numerical': 0.02857142857142857, 'mean_word_length': 3.456818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4647208', 'n_tokens_mistral': 755, 'n_tokens_neox': 718, 'n_words': 150}