1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/libraries/freeglut/default.nix
2013-06-16 22:33:41 +02:00

16 lines
489 B
Nix

{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa, x11 }:
stdenv.mkDerivation {
name = "freeglut-2.8.1";
src = fetchurl {
url = mirror://sourceforge/freeglut/freeglut-2.8.1.tar.gz;
sha256 = "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x";
};
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
buildInputs = [ libXi libXrandr libXxf86vm mesa x11 ];
# patches = [ ./0001-remove-typedefs-now-living-in-mesa.patch ];
}