mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
5d63995485
svn path=/nixpkgs/trunk/; revision=21431
16 lines
399 B
Nix
16 lines
399 B
Nix
{stdenv, fetchurl, x11, mesa}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "freeglut-2.4.0";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/freeglut/freeglut-2.4.0.tar.gz;
|
|
sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6";
|
|
};
|
|
|
|
configureFlags = "--" + (if stdenv.isDarwin then "disable" else "enable") + "-warnings";
|
|
|
|
buildInputs = [x11 mesa];
|
|
patches = ./freeglut-gcc-4.2.patch;
|
|
}
|