nixpkgs/pkgs/games/gtypist/default.nix

24 lines
676 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation {
name = "gtypist-2.9.1";
src = fetchurl {
url = "ftp://ftp.gnu.org/gnu/gtypist/gtypist-2.9.1.tar.xz";
sha256 = "1yv209aih1ixbs477vzzk1xj013g6w32vi33g0hldfzvfxbl9y5s";
};
buildInputs = [ncurses];
patches = [ (fetchurl {
url = "http://projects.archlinux.org/svntogit/community.git/plain/trunk/ncurses.patch?h=packages/gtypist";
2013-03-21 20:46:38 +01:00
sha256 = "14crgh21gghszwijxjvixpijqzsgn62wx6kz28zkjskdw0p5vij1";
})];
meta = {
homepage = http://www.gnu.org/software/gtypist;
description = "GNU Typist (also called gtypist) is a universal typing tutor.";
license = stdenv.lib.licenses.gpl3Plus;
};
}