2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, xorgproto, libXt, libXaw, libSM, libICE, libXmu
|
2021-02-05 17:12:51 +00:00
|
|
|
, libXext, gnuchess, texinfo, libXpm, pkg-config, librsvg, cairo, pango
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk2
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="xboard";
|
|
|
|
version="4.9.1";
|
|
|
|
name="${baseName}-${version}";
|
|
|
|
hash="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
|
|
|
url="https://ftp.gnu.org/gnu/xboard/xboard-4.9.1.tar.gz";
|
|
|
|
sha256="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
|
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
libX11 xorgproto libXt libXaw libSM libICE libXmu
|
2021-02-05 17:12:51 +00:00
|
|
|
libXext gnuchess texinfo libXpm pkg-config librsvg
|
2020-04-24 23:36:52 +00:00
|
|
|
cairo pango gtk2
|
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "GUI for chess engines";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.gnu.org/software/xboard/";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|