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