From 151edd446d6d06e2c0b0dd614ca5d2a4d3eff3fd Mon Sep 17 00:00:00 2001 From: Kiba Fox Date: Tue, 4 Oct 2016 17:46:26 -0400 Subject: [PATCH] tinyfugue: init at 50b8 --- lib/maintainers.nix | 1 + pkgs/games/tinyfugue/default.nix | 37 ++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/games/tinyfugue/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index d94bc265bdd9..d568d9a0dba5 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -213,6 +213,7 @@ kampfschlaefer = "Arnold Krille "; kevincox = "Kevin Cox "; khumba = "Bryan Gardiner "; + KibaFox = "Kiba Fox "; kkallio = "Karn Kallio "; koral = "Koral "; kovirobi = "Kovacsics Robert "; diff --git a/pkgs/games/tinyfugue/default.nix b/pkgs/games/tinyfugue/default.nix new file mode 100644 index 000000000000..dcae182ed17d --- /dev/null +++ b/pkgs/games/tinyfugue/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 836328a45e17..52796e12b3e3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15667,6 +15667,8 @@ in tintin = callPackage ../games/tintin { }; + tinyfugue = callPackage ../games/tinyfugue { }; + tome4 = callPackage ../games/tome4 { }; trackballs = callPackage ../games/trackballs {