2048-in-terminal: init at 2015-01-15
Yes, another. With less seizure-inducing colours than n2048, and working arrow keys.
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, ncurses }:
|
||||||
|
|
||||||
|
let version = "2015-01-15"; in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "2048-in-terminal-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
sha256 = "1fdfmyhh60sz0xbilxkh2y09lvbcs9lamk2jkjkhxhlhxknmnfgs";
|
||||||
|
rev = "3e4e44fd360dfe114e81e6332a5a058a4b287cb1";
|
||||||
|
repo = "2048-in-terminal";
|
||||||
|
owner = "alewmoose";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
'';
|
||||||
|
installFlags = "DESTDIR=$(out)";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
inherit version;
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
description = "Animated console version of the 2048 game";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ nckx ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -13648,6 +13648,8 @@ let
|
|||||||
|
|
||||||
### GAMES
|
### GAMES
|
||||||
|
|
||||||
|
"2048-in-terminal" = callPackage ../games/2048-in-terminal { };
|
||||||
|
|
||||||
airstrike = callPackage ../games/airstrike { };
|
airstrike = callPackage ../games/airstrike { };
|
||||||
|
|
||||||
alienarena = callPackage ../games/alienarena { };
|
alienarena = callPackage ../games/alienarena { };
|
||||||
|
|||||||
Reference in New Issue
Block a user