1 { lib, stdenv, fetchurl, tcl, tcllib, runtimeShell }:
3 tcl.mkTclDerivation rec {
8 url = "https://raw.githubusercontent.com/dbohdan/2048.tcl/v${version}/2048.tcl";
9 sha256 = "53f5503efd7f029b2614b0f9b1e3aac6c0342735a3c9b811d74a5135fee3e89e";
12 buildInputs = [ tcllib ];
17 install -m 755 $src $out/bin/2048
21 homepage = "https://github.com/dbohdan/2048.tcl";
22 description = "The game of 2048 implemented in Tcl";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ dbohdan ];
26 platforms = lib.platforms.all;