uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/games/tcl2048/default.nix
Normal file
28
pkgs/games/tcl2048/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, tcl, tcllib, runtimeShell }:
|
||||
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "tcl2048";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/dbohdan/2048.tcl/v${version}/2048.tcl";
|
||||
sha256 = "53f5503efd7f029b2614b0f9b1e3aac6c0342735a3c9b811d74a5135fee3e89e";
|
||||
};
|
||||
|
||||
buildInputs = [ tcllib ];
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
install -m 755 $src $out/bin/2048
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dbohdan/2048.tcl";
|
||||
description = "The game of 2048 implemented in Tcl";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dbohdan ];
|
||||
mainProgram = "2048";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue