2012-12-12 06:29:49 +01:00
|
|
|
{stdenv, fetchurl, libX11, xproto, libXt, libXaw, libSM, libICE, libXmu
|
2016-05-15 22:12:35 +02:00
|
|
|
, libXext, gnuchess, texinfo, libXpm, pkgconfig, librsvg, cairo, pango
|
|
|
|
, gtk2
|
2012-12-12 06:29:49 +01:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="xboard";
|
2016-08-10 19:30:49 +02:00
|
|
|
version="4.9.1";
|
2012-12-12 06:29:49 +01:00
|
|
|
name="${baseName}-${version}";
|
2016-08-10 19:30:49 +02:00
|
|
|
hash="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
|
|
|
url="http://ftp.gnu.org/gnu/xboard/xboard-4.9.1.tar.gz";
|
|
|
|
sha256="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
2012-12-12 06:29:49 +01:00
|
|
|
};
|
|
|
|
buildInputs = [
|
2009-01-31 21:09:54 +01:00
|
|
|
libX11 xproto libXt libXaw libSM libICE libXmu
|
2013-03-07 07:58:25 +01:00
|
|
|
libXext gnuchess texinfo libXpm pkgconfig librsvg
|
2016-05-15 22:12:35 +02:00
|
|
|
cairo pango gtk2
|
2009-01-31 21:09:54 +01:00
|
|
|
];
|
|
|
|
in
|
2012-12-12 06:29:49 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
2009-01-31 21:09:54 +01:00
|
|
|
src = fetchurl {
|
2012-12-12 06:29:49 +01:00
|
|
|
inherit (s) url sha256;
|
2009-01-31 21:09:54 +01:00
|
|
|
};
|
|
|
|
meta = {
|
2012-12-12 06:29:49 +01:00
|
|
|
inherit (s) version;
|
|
|
|
description = ''GUI for chess engines'';
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2016-12-22 16:36:29 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-12-12 06:29:49 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2009-01-31 21:09:54 +01:00
|
|
|
};
|
|
|
|
}
|