about summary refs log tree commit diff
path: root/pkgs/games/tinyfugue/default.nix
blob: dcae182ed17d51b6ab34b9d73976a666f95464c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ 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 ];
  };
}