summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-06-23 13:13:50 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-06-23 13:19:24 +0200
commit97d4dec58c17fdc1330228280f53162a00626b3c (patch)
tree8425f4ecdcd9e3bc10ed9228c1df5bd5ab91ca95
parent52561fb7a815dc5ca77b672c2324b780dcbeb4bd (diff)
downloadnixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar.gz
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar.bz2
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar.lz
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar.xz
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.tar.zst
nixlib-97d4dec58c17fdc1330228280f53162a00626b3c.zip
zoom: add meta attributes
And do some coding style / whitespace clean up.
-rw-r--r--pkgs/games/zoom/default.nix19
1 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/games/zoom/default.nix b/pkgs/games/zoom/default.nix
index fdf3aa91e2b0..cb9974580d87 100644
--- a/pkgs/games/zoom/default.nix
+++ b/pkgs/games/zoom/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, perl, expat, x11, freetype}:
+{ stdenv, fetchurl, perl, expat, x11, freetype }:
 
 # !!! assert freetype == xlibs.freetype
 
@@ -10,8 +10,21 @@ stdenv.mkDerivation {
     sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
   };
   
-  buildInputs = [perl expat x11 freetype];
+  buildInputs = [ perl expat x11 freetype ];
   
   # Zoom doesn't add the right directory in the include path.
-  CFLAGS = ["-I" (freetype + "/include/freetype2")];
+  CFLAGS = [ "-I" (freetype + "/include/freetype2") ];
+
+  meta = with stdenv.lib; {
+    description = "Player for Z-Code, TADS and HUGO stories or games, usually text adventures ('interactive fiction')";
+    longDescription = ''
+      Zoom is a player for Z-Code, TADS and HUGO stories or games. These are
+      usually text adventures ('interactive fiction'), and were first created
+      by Infocom with the Zork series of games. Throughout the 80's, Infocom
+      released many interactive fiction stories before their ambitions to enter
+      the database market finally brought them low.
+    '';
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+  };
 }