summary refs log tree commit diff
path: root/pkgs/games/gtypist/default.nix
blob: 3db7aecfe1a57fb44fe5b5879429f5b4f261db29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{stdenv, fetchurl, ncurses}:

stdenv.mkDerivation {
  name = "gtypist-2.9.4";

  src = fetchurl {
    url = "mirror://gnu/gtypist/gtypist-2.9.4.tar.xz";
    sha256 = "18f54lh7ihhfvgwk3xd9d087kmganrgi2jd7avhvwn5gcc31vrqq";
  };

  buildInputs = [ncurses];

  patchPhase = "sed -e 's#ncursesw/##' -i configure src/*";

  meta = {
    homepage = http://www.gnu.org/software/gtypist;
    description = "Universal typing tutor";
    license = stdenv.lib.licenses.gpl3Plus;
  };
}