Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchFromGitHub, lib }: 2 3stdenv.mkDerivation rec { 4 pname = "vitetris"; 5 version = "0.59.1"; 6 7 src = fetchFromGitHub { 8 owner = "vicgeralds"; 9 repo = "vitetris"; 10 rev = "v${version}"; 11 sha256 = "sha256-Rbfa2hD67RGmInfWwYD4SthL8lm5bGSBi3oudV5hAao="; 12 }; 13 14 hardeningDisable = [ "format" ]; 15 16 makeFlags = [ "INSTALL=install" ]; 17 18 meta = { 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 25 longDescription = '' 26 vitetris is a terminal-based Tetris clone by Victor Nilsson. Gameplay is much 27 like the early Tetris games by Nintendo. 28 29 Features include: configurable keys, highscore table, two-player mode with 30 garbage, network play, joystick (gamepad) support on Linux or with Allegro. 31 ''; 32 }; 33}