diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-01-26 18:04:02 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-01-26 18:04:02 +0000 |
commit | 9f2be8d6b113de165f6d5de9fcfa239224b5d3f9 (patch) | |
tree | cf020a6552dffa57eb5b89b0dc1078e4f2c5ea7f /pkgs/development/libraries/glew | |
parent | 4d266a5f56f4b7a683f72e6d603b21af61e36380 (diff) |
Update GLEW
svn path=/nixpkgs/trunk/; revision=31867
Diffstat (limited to 'pkgs/development/libraries/glew')
-rw-r--r-- | pkgs/development/libraries/glew/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix index 6c76dafd57249..db36944dcb241 100644 --- a/pkgs/development/libraries/glew/default.nix +++ b/pkgs/development/libraries/glew/default.nix @@ -1,16 +1,20 @@ { stdenv, fetchurl, mesa, x11, libXmu, libXi }: -stdenv.mkDerivation { - name = "glew-1.5.2"; +stdenv.mkDerivation rec { + name = "glew-1.7.0"; src = fetchurl { - url = mirror://sourceforge/glew/glew-1.5.2.tgz; - sha256 = "0dh5wpfq7aaldkiwcqmm9w59c2qcglkjv8zazmnm8n5771n3caj8"; + url = "mirror://sourceforge/glew/${name}.tgz"; + sha256 = "02aw6sc4v1434m7awfcxqb0v987i2ykg3fncnp21i9g1n4zsclqn"; }; buildInputs = [ mesa x11 libXmu libXi ]; - installPhase = "GLEW_DEST=\$out make install"; + installPhase = " + GLEW_DEST=\$out make install + mkdir -pv \$out/share/doc/glew + cp -r README.txt LICENSE.txt doc \$out/share/doc/glew + "; meta = { description = "Cross-platform open-source C/C++ extension loading library"; |