17 stdenv.mkDerivation rec {
21 src = fetchFromGitHub {
24 rev = "upstream/${version}";
25 sha256 = "1i33rhi9gpzfml4hd73s18h6p2s8zcr26va2vwf2pqqd9fhdwpsg";
29 patchShebangs data/scripts/sed-linux.sh
30 patchShebangs data/themes/asturian/scripts/sed-linux.sh
31 patchShebangs data/themes/greek/scripts/sed-linux.sh
32 patchShebangs data/themes/hungarian/scripts/sed-linux.sh
34 substituteInPlace Makefile.am \
35 --replace "\$(MKDIR_P) -m 2755 " "\$(MKDIR_P) -m 755 " \
36 --replace "chown root:games \$(DESTDIR)\$(pkglocalstatedir)/words" " "
38 # required until the following has been merged:
39 # https://salsa.debian.org/tux4kids-pkg-team/tuxtype/merge_requests/1
40 substituteInPlace configure.ac \
41 --replace 'CFLAGS="$CFLAGS $SDL_IMAGE"' 'CFLAGS="$CFLAGS $SDL_IMAGE_CFLAGS"' \
42 --replace 'PKG_CHECK_MODULES([SDL_ttf],' 'PKG_CHECK_MODULES([SDL_TTF],'
60 configureFlags = [ "--without-sdlpango" ];
63 description = "Educational Typing Tutor Game Starring Tux, the Linux Penguin";
64 mainProgram = "tuxtype";
65 homepage = "https://github.com/tux4kids/tuxtype";
66 license = licenses.gpl3Plus;
67 maintainers = [ maintainers.aanderse ];
68 platforms = platforms.linux;