2013-01-31 22:44:31 +01:00
|
|
|
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, x11 }:
|
2007-04-18 15:47:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-06-16 22:25:49 +02:00
|
|
|
name = "freeglut-2.8.1";
|
2010-04-29 16:57:17 +02:00
|
|
|
|
2007-04-18 15:47:35 +02:00
|
|
|
src = fetchurl {
|
2013-06-16 22:25:49 +02:00
|
|
|
url = mirror://sourceforge/freeglut/freeglut-2.8.1.tar.gz;
|
|
|
|
sha256 = "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x";
|
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";
|
|
|
|
|
2013-01-31 22:44:31 +01:00
|
|
|
buildInputs = [ libXi libXrandr libXxf86vm mesa x11 ];
|
2013-06-16 22:25:49 +02:00
|
|
|
# patches = [ ./0001-remove-typedefs-now-living-in-mesa.patch ];
|
2007-04-18 15:47:35 +02:00
|
|
|
}
|