1 { lib, stdenv, fetchurl, flex, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnu/chess/gnuchess-${version}.tar.gz";
9 sha256 = "sha256-3fzCC911aQCpq2xCx9r5CiiTv38ZzjR0IM42uuvEGJA=";
15 nativeBuildInputs = [ makeWrapper ];
18 # register keyword is removed in c++17 so stick to c++14
23 wrapProgram $out/bin/gnuchessx --set PATH "$out/bin"
24 wrapProgram $out/bin/gnuchessu --set PATH "$out/bin"
28 description = "GNU Chess engine";
29 maintainers = with maintainers; [ raskin ];
30 platforms = platforms.unix;
31 license = licenses.gpl3Plus;