1 { stdenv, fetchFromGitHub, lib }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Rbfa2hD67RGmInfWwYD4SthL8lm5bGSBi3oudV5hAao=";
14 hardeningDisable = [ "format" ];
16 makeFlags = [ "INSTALL=install" "CPPFLAGS=-Wno-implicit-int" ];
19 description = "Terminal-based Tetris clone by Victor Nilsson";
20 homepage = "http://www.victornils.net/tetris/";
21 license = lib.licenses.bsd2;
22 maintainers = with lib.maintainers; [ siers ];
23 mainProgram = "tetris";
24 platforms = lib.platforms.unix;
27 vitetris is a terminal-based Tetris clone by Victor Nilsson. Gameplay is much
28 like the early Tetris games by Nintendo.
30 Features include: configurable keys, highscore table, two-player mode with
31 garbage, network play, joystick (gamepad) support on Linux or with Allegro.