2007-04-18 13:47:35 +00:00
|
|
|
{stdenv, fetchurl, x11, mesa}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "freeglut-2.4.0";
|
2010-04-29 14:57:17 +00:00
|
|
|
|
2007-04-18 13:47:35 +00:00
|
|
|
src = fetchurl {
|
2007-08-27 13:01:33 +00:00
|
|
|
url = mirror://sourceforge/freeglut/freeglut-2.4.0.tar.gz;
|
2007-04-18 13:47:35 +00:00
|
|
|
sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6";
|
|
|
|
};
|
|
|
|
|
2010-04-29 14:57:13 +00:00
|
|
|
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
|
|
|
|
|
2007-04-18 13:47:35 +00:00
|
|
|
buildInputs = [x11 mesa];
|
2008-01-16 00:06:31 +00:00
|
|
|
patches = ./freeglut-gcc-4.2.patch;
|
2007-04-18 13:47:35 +00:00
|
|
|
}
|