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