mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #2753 from jwiegley/chessdb
Add expression for ChessDB
This commit is contained in:
commit
4d2000a071
29
pkgs/games/chessdb/default.nix
Normal file
29
pkgs/games/chessdb/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl, tcl, tk, libX11, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "chessdb-3.6.19-beta-1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/chessdb/ChessDB-3.6.19-beta-1.tar.gz;
|
||||||
|
sha256 = "0brc3wln3bxp979iqj2w1zxpfd0pch8zzazhdmwf7acww4hrsz62";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ tcl tk libX11 makeWrapper ];
|
||||||
|
|
||||||
|
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 = "ChessDB is a free chess database";
|
||||||
|
};
|
||||||
|
}
|
@ -9876,6 +9876,8 @@ let
|
|||||||
|
|
||||||
castle_combat = callPackage ../games/castle-combat { };
|
castle_combat = callPackage ../games/castle-combat { };
|
||||||
|
|
||||||
|
chessdb = callPackage ../games/chessdb { };
|
||||||
|
|
||||||
construoBase = lowPrio (callPackage ../games/construo {
|
construoBase = lowPrio (callPackage ../games/construo {
|
||||||
mesa = null;
|
mesa = null;
|
||||||
freeglut = null;
|
freeglut = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user