nixpkgs/pkgs/development/libraries/SDL/default.nix
Eelco Dolstra b6befed50e * Updated SDL, NASM and Generator to the latest versions.
* Moved Generator to the misc/emulators directory.

svn path=/nixpkgs/trunk/; revision=4330
2005-12-03 01:33:18 +00:00

12 lines
338 B
Nix

{stdenv, fetchurl, x11}:
stdenv.mkDerivation {
name = "SDL-1.2.9";
src = fetchurl {
url = http://www.libsdl.org/release/SDL-1.2.9.tar.gz;
md5 = "80919ef556425ff82a8555ff40a579a0";
};
buildInputs = [x11];
patches = [./no-cxx.patch];
NIX_CFLAGS_COMPILE = "-DBITS_PER_LONG=32"; /* !!! hack around kernel header bug */
}