commit
f8b3591365
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.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://raw.githubusercontent.com/dbohdan/2048-tcl/v0.2.6/2048.tcl;
|
||||||
|
sha256 = "481eac7cccc37d1122c3069da6186f584906bd27b86b8d4ae1a2d7e355c1b6b2";
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
@ -2209,6 +2209,8 @@ let
|
|||||||
|
|
||||||
tboot = callPackage ../tools/security/tboot { };
|
tboot = callPackage ../tools/security/tboot { };
|
||||||
|
|
||||||
|
tcl2048 = callPackage ../games/tcl2048 { };
|
||||||
|
|
||||||
tcpdump = callPackage ../tools/networking/tcpdump { };
|
tcpdump = callPackage ../tools/networking/tcpdump { };
|
||||||
|
|
||||||
tcpflow = callPackage ../tools/networking/tcpflow { };
|
tcpflow = callPackage ../tools/networking/tcpflow { };
|
||||||
@ -9213,7 +9215,7 @@ let
|
|||||||
lynx = callPackage ../applications/networking/browsers/lynx { };
|
lynx = callPackage ../applications/networking/browsers/lynx { };
|
||||||
|
|
||||||
lyx = callPackage ../applications/misc/lyx { };
|
lyx = callPackage ../applications/misc/lyx { };
|
||||||
|
|
||||||
makeself = callPackage ../applications/misc/makeself { };
|
makeself = callPackage ../applications/misc/makeself { };
|
||||||
|
|
||||||
matchbox = callPackage ../applications/window-managers/matchbox { };
|
matchbox = callPackage ../applications/window-managers/matchbox { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user