2004-09-26 20:12:51 +02:00
|
|
|
{stdenv, fetchurl, x11}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2005-12-03 02:33:18 +01:00
|
|
|
name = "SDL-1.2.9";
|
2004-09-26 20:12:51 +02:00
|
|
|
src = fetchurl {
|
2005-12-03 02:33:18 +01:00
|
|
|
url = http://www.libsdl.org/release/SDL-1.2.9.tar.gz;
|
|
|
|
md5 = "80919ef556425ff82a8555ff40a579a0";
|
2004-09-26 20:12:51 +02:00
|
|
|
};
|
|
|
|
buildInputs = [x11];
|
2005-07-12 13:28:43 +02:00
|
|
|
patches = [./no-cxx.patch];
|
2005-12-03 02:33:18 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-DBITS_PER_LONG=32"; /* !!! hack around kernel header bug */
|
2004-09-26 20:12:51 +02:00
|
|
|
}
|