1 {lib, stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} :
3 stdenv.mkDerivation rec {
7 url = "http://olofson.net/kobodl/download/KoboDeluxe-${version}.tar.bz2";
8 sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
11 buildInputs = [ SDL SDL_image libGLU libGL ];
14 sed -e 's/char \*tok/const char \*tok/' -i graphics/window.cpp
17 patches = [ ./glibc29.patch ];
20 homepage = "http://olofson.net/kobodl/";
21 description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
22 license = lib.licenses.gpl2Plus;
23 platforms = lib.platforms.linux;