about summary refs log tree commit diff
path: root/pkgs/games/gtypist/default.nix
blob: 19567918377629cdf08659fe369c5e8cbbc86221 (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.3";

  src = fetchurl {
    url = "mirror://gnu/gtypist/gtypist-2.9.3.tar.xz";
    sha256 = "0srwa841caci69hzqb47xfbxxf7fvz3640qka083p72vm8z9hsxw";
  };

  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;
  };
}