2012-01-05 00:05:41 +01:00
|
|
|
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, x11 }:
|
2007-04-18 15:47:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-01-05 00:05:41 +01:00
|
|
|
name = "freeglut-2.8.0";
|
2010-04-29 16:57:17 +02:00
|
|
|
|
2007-04-18 15:47:35 +02:00
|
|
|
src = fetchurl {
|
2012-01-05 00:05:41 +01:00
|
|
|
url = mirror://sourceforge/freeglut/freeglut-2.8.0.tar.gz;
|
|
|
|
sha256 = "197293ff886abe613bc9eb4a762d9161b0c9e64b3e8e613ed7c5e353974fba05";
|
2007-04-18 15:47:35 +02:00
|
|
|
};
|
|
|
|
|
2010-04-29 16:57:13 +02:00
|
|
|
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
|
|
|
|
|
2012-01-05 00:05:41 +01:00
|
|
|
buildInputs = [ libXi libXrandr libXxf86vm mesa x11 ];
|
|
|
|
patches = [ ./0001-remove-typedefs-now-living-in-mesa.patch ];
|
2007-04-18 15:47:35 +02:00
|
|
|
}
|