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
32
pkgs/games/chessdb/default.nix
Normal file
32
pkgs/games/chessdb/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, tcl, tk, libX11, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chessdb";
|
||||
version = "3.6.19-beta-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/chessdb/ChessDB-${version}.tar.gz";
|
||||
sha256 = "0brc3wln3bxp979iqj2w1zxpfd0pch8zzazhdmwf7acww4hrsz62";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ tcl tk libX11 ];
|
||||
|
||||
makeFlags = [
|
||||
"BINDIR=$(out)/bin"
|
||||
"SHAREDIR=$(out)/share/chessdb"
|
||||
"SOUNDSDIR=$(out)/share/chessdb/sounds"
|
||||
"TBDIR=$(out)/share/chessdb/tablebases"
|
||||
"MANDIR=$(out)/man"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/chessdb --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://chessdb.sourceforge.net/";
|
||||
description = "A free chess database";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue