2021-01-15 04:31:39 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, xorgproto, libXt, libXaw, libSM, libICE, libXmu
|
2021-01-17 05:49:22 +00:00
|
|
|
, libXext, gnuchess, texinfo, libXpm, pkg-config, librsvg, cairo, pango
|
2016-05-15 21:12:35 +01:00
|
|
|
, gtk2
|
2012-12-12 05:29:49 +00:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="xboard";
|
2016-08-10 18:30:49 +01:00
|
|
|
version="4.9.1";
|
2012-12-12 05:29:49 +00:00
|
|
|
name="${baseName}-${version}";
|
2016-08-10 18:30:49 +01:00
|
|
|
hash="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
2018-12-01 18:22:13 +00:00
|
|
|
url="https://ftp.gnu.org/gnu/xboard/xboard-4.9.1.tar.gz";
|
2016-08-10 18:30:49 +01:00
|
|
|
sha256="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
2012-12-12 05:29:49 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
2018-12-31 03:40:47 +00:00
|
|
|
libX11 xorgproto libXt libXaw libSM libICE libXmu
|
2021-01-17 05:49:22 +00:00
|
|
|
libXext gnuchess texinfo libXpm pkg-config librsvg
|
2016-05-15 21:12:35 +01:00
|
|
|
cairo pango gtk2
|
2009-01-31 20:09:54 +00:00
|
|
|
];
|
|
|
|
in
|
2012-12-12 05:29:49 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
2009-01-31 20:09:54 +00:00
|
|
|
src = fetchurl {
|
2012-12-12 05:29:49 +00:00
|
|
|
inherit (s) url sha256;
|
2009-01-31 20:09:54 +00:00
|
|
|
};
|
|
|
|
meta = {
|
2012-12-12 05:29:49 +00:00
|
|
|
inherit (s) version;
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "GUI for chess engines";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/xboard/";
|
2021-01-15 04:31:39 +00:00
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.gpl3Plus;
|
2009-01-31 20:09:54 +00:00
|
|
|
};
|
|
|
|
}
|