2010-07-28 15:35:01 +00:00
|
|
|
{ stdenv, fetchurl, mesa, x11, libXmu, libXi }:
|
2010-02-05 22:00:51 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
stdenv.mkDerivation {
|
2010-01-21 14:39:57 +00:00
|
|
|
name = "glew-1.5.2";
|
2008-01-16 02:20:46 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2010-02-05 22:00:51 +00:00
|
|
|
url = mirror://sourceforge/glew/glew-1.5.2.tgz;
|
2010-01-21 14:39:57 +00:00
|
|
|
sha256 = "0dh5wpfq7aaldkiwcqmm9w59c2qcglkjv8zazmnm8n5771n3caj8";
|
2008-01-16 02:20:46 +00:00
|
|
|
};
|
|
|
|
|
2010-07-28 15:35:01 +00:00
|
|
|
buildInputs = [ mesa x11 libXmu libXi ];
|
2008-01-16 02:20:46 +00:00
|
|
|
|
2010-07-28 15:35:01 +00:00
|
|
|
installPhase = "GLEW_DEST=\$out make install";
|
|
|
|
|
2008-01-16 02:20:46 +00:00
|
|
|
meta = {
|
2010-07-28 15:35:01 +00:00
|
|
|
description = "Cross-platform open-source C/C++ extension loading library";
|
2010-02-05 22:00:51 +00:00
|
|
|
homepage = http://glew.sourceforge.net/;
|
|
|
|
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0
|
2008-01-16 02:20:46 +00:00
|
|
|
};
|
|
|
|
}
|