Hi, gtypist check and use ncurses header from that location,
perhaps we should make a symlink in ncurses just as nixpkgs does.

And here is my patch for gtypist:
>From 4cfd5ede203eb3a105a7396ccf784f756150f90c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzs...@gmail.com>
Date: Tue, 11 Nov 2014 20:34:22 +0800
Subject: [PATCH] gnu: Add GNU Typist.

* gnu/packages/games.scm (gtypist): New variable.
---
 gnu/packages/games.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index df24c0d..5759c07 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -462,3 +462,27 @@ you control to bounce a ball around the game zone destroying blocks with a
 proton ball.  Each block carries a different point value.  The more blocks you
 destroy, the better your score.  The person with the highest score wins.")
     (license (x11-style "file://COPYING" "Very similar to the X11 licence."))))
+
+(define-public gtypist
+  (package
+    (name "gtypist")
+    (version "2.9.5")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/gtypist/gtypist-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://www.gnu.org/software/gtypist/";)
+    (synopsis "Universal typing tutor")
+    (description
+     "Typist is a typing tutor package built using Curses.  The package has
+tutorials, drills, and practice sessions to learn touch typing.  The emphasis
+is on the US computer keyboard layout, but lessons for Dvorak and other
+keyboard types and languages are also included.  The program also has Native
+Language Support and is distributed with messages in many different languages.")
+    (license gpl3+)))
-- 
1.9.2

Reply via email to