forked from mirrors/nixpkgs
add game 'tcl2048'
This commit is contained in:
parent
347dd52019
commit
dba5fed12b
5
pkgs/games/tcl2048/builder.sh
Normal file
5
pkgs/games/tcl2048/builder.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/2048
|
||||
chmod +x $out/bin/2048
|
19
pkgs/games/tcl2048/default.nix
Normal file
19
pkgs/games/tcl2048/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue