1 { lib, stdenv, fetchurl, perl, pkg-config, gtk2 }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/eboard/eboard-${version}.tar.bz2";
9 sha256 = "0vm25j1s2zg1lipwjv9qrcm877ikfmk1yh34i8f5l3bwd63115xd";
12 patches = [ ./eboard.patch ];
14 buildInputs = [ gtk2 ];
15 nativeBuildInputs = [ perl pkg-config ];
17 hardeningDisable = [ "format" ];
19 env.NIX_CFLAGS_COMPILE = "-fpermissive";
22 homepage = "http://www.bergo.eng.br/eboard/";
23 description = "Chess interface for Unix-like systems";
24 platforms = lib.platforms.linux;