about summary refs log tree commit diff
path: root/pkgs/games/xboard/default.nix
blob: 663207bd23c42e11045bc0e1fcff37afef2bc601 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{ lib
, stdenv
, fetchurl
, libX11
, xorgproto
, libXt
, libXaw
, libSM
, libICE
, libXmu
, libXext
, gnuchess
, texinfo
, libXpm
, pkg-config
, librsvg
, cairo
, pango
, gtk2
}:

stdenv.mkDerivation rec {
  pname = "xboard";
  version = "4.9.1";

  src = fetchurl {
    url = "mirror://gnu/xboard/xboard-${version}.tar.gz";
    sha256 = "sha256-Ky5T6EKK2bbo3IpVs6UYM4GRGk2uLABy+pYpa7sZcNY=";
  };

  buildInputs = [
    libX11
    xorgproto
    libXt
    libXaw
    libSM
    libICE
    libXmu
    libXext
    gnuchess
    texinfo
    libXpm
    pkg-config
    librsvg
    cairo
    pango
    gtk2
  ];

  meta = with lib; {
    description = "GUI for chess engines";
    homepage = "https://www.gnu.org/software/xboard/";
    maintainers = with maintainers; [ raskin ];
    platforms = platforms.unix;
    license = licenses.gpl3Plus;
  };
}