Update xboard

svn path=/nixpkgs/trunk/; revision=18870
This commit is contained in:
Michael Raskin 2009-12-10 06:55:12 +00:00
parent b2c9e50203
commit 3871c1ebd2
4 changed files with 22 additions and 8 deletions

View file

@ -2,16 +2,17 @@ a :
let let
fetchurl = a.fetchurl; fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "4.2.7" a;
buildInputs = with a; [ buildInputs = with a; [
libX11 xproto libXt libXaw libSM libICE libXmu libX11 xproto libXt libXaw libSM libICE libXmu
libXext gnuchess libXext gnuchess texinfo libXpm
]; ];
s = import ./src-for-default.nix;
in in
rec { rec {
src = fetchurl { src = fetchurl {
url = "http://ftp.gnu.org/gnu/xboard/xboard-${version}.tar.gz"; inherit(s) url;
sha256 = "0fwdzcav8shvzi7djphrlav29vwxnx63spzsldlhrglr7qpg28av"; sha256 = s.hash;
}; };
inherit buildInputs; inherit buildInputs;
@ -25,7 +26,7 @@ rec {
sed -e '/SECOND_CHESS_PROGRAM/s@gnuchessx@${a.gnuchess}/bin/gnuchessx@' -i xboard.h sed -e '/SECOND_CHESS_PROGRAM/s@gnuchessx@${a.gnuchess}/bin/gnuchessx@' -i xboard.h
'') ["doUnpack" "minInit"]; '') ["doUnpack" "minInit"];
name = "xboard-" + version; inherit(s) name;
meta = { meta = {
description = "XBoard - a chess board compatible with GNU Chess"; description = "XBoard - a chess board compatible with GNU Chess";
}; };

View file

@ -0,0 +1,9 @@
rec {
version="4.4.2";
name="xboard-4.4.2";
hash="1ihg39nnwp90w410rzwxj9layadavz08gc9m2b1jg5z5c6ky28zp";
url="http://ftp.gnu.org/gnu/xboard/xboard-${version}.tar.gz";
advertisedUrl="http://ftp.gnu.org/gnu/xboard/xboard-4.4.2.tar.gz";
}

View file

@ -0,0 +1,4 @@
{
downloadPage = "http://ftp.gnu.org/gnu/xboard/?C=T,M;O=D";
baseName = "xboard";
}

View file

@ -8023,8 +8023,8 @@ let
xboard = builderDefsPackage (import ../games/xboard) { xboard = builderDefsPackage (import ../games/xboard) {
inherit (xlibs) libX11 xproto libXt libXaw libSM inherit (xlibs) libX11 xproto libXt libXaw libSM
libICE libXmu libXext; libICE libXmu libXext libXpm;
inherit gnuchess; inherit gnuchess texinfo;
}; };
xsokoban = builderDefsPackage (import ../games/xsokoban) { xsokoban = builderDefsPackage (import ../games/xsokoban) {