add game 'tcl2048'

This commit is contained in:
Danyil Bohdan 2014-08-31 11:48:51 +03:00
parent 347dd52019
commit dba5fed12b
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,5 @@
source $stdenv/setup
mkdir -p $out/bin
cp $src $out/bin/2048
chmod +x $out/bin/2048

View file

@ -0,0 +1,19 @@
{ stdenv, fetchurl, tcl, tcllib }:
stdenv.mkDerivation {
name = "tcl2048-0.2.5";
src = fetchurl {
url = https://raw.githubusercontent.com/dbohdan/2048-tcl/v0.2.5/2048.tcl;
sha256 = "b0d6e8a31dce8c1ca8dbbb8c513b50fbfb9cd6a313201941fa15531165bf68ce";
};
builder = ./builder.sh;
meta = {
homepage = https://github.com/dbohdan/2048-tcl;
description = "The game of 2048 implemented in Tcl.";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -2211,6 +2211,8 @@ let
tboot = callPackage ../tools/security/tboot { };
tcl2048 = callPackage ../games/tcl2048 { };
tcpdump = callPackage ../tools/networking/tcpdump { };
tcpflow = callPackage ../tools/networking/tcpflow { };
@ -9215,7 +9217,7 @@ let
lynx = callPackage ../applications/networking/browsers/lynx { };
lyx = callPackage ../applications/misc/lyx { };
makeself = callPackage ../applications/misc/makeself { };
matchbox = callPackage ../applications/window-managers/matchbox { };