1 { lib, stdenv, fetchurl, ncurses, zlib
8 assert sslSupport -> openssl != null;
10 stdenv.mkDerivation rec {
13 verUrl = "5.0%20beta%208";
16 url = "mirror://sourceforge/project/tinyfugue/tinyfugue/${verUrl}/tf-${version}.tar.gz";
17 sha256 = "12fra2fdwqj6ilv9wdkc33rkj343rdcf5jyff4yiwywlrwaa2l1p";
20 configureFlags = optional (!sslSupport) "--disable-ssl";
24 ++ optional sslSupport openssl;
26 # Workaround build failure on -fno-common toolchains like upstream
27 # gcc-10. Otherwise build fails as:
28 # ld: world.o:/build/tf-50b8/src/socket.h:24: multiple definition of
29 # `world_decl'; command.o:/build/tf-50b8/src/socket.h:24: first defined here
30 env.NIX_CFLAGS_COMPILE = "-fcommon";
33 homepage = "https://tinyfugue.sourceforge.net/";
34 description = "A terminal UI, screen-oriented MUD client";
36 TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use
37 with any type of text MUD.
39 license = licenses.gpl2;
40 platforms = platforms.linux;
41 maintainers = [ maintainers.KibaFox ];