diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-05-18 09:31:02 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-05-18 13:24:30 +0200 |
commit | 7959eaf8dd7735b727703894f532975eb244c40d (patch) | |
tree | ad3102f29201eedf3cd7ac32bb0d161688bca5f7 /pkgs/development/libraries/glew | |
parent | 61e7a72931525d940e45e839b7b65aea34f1c7af (diff) |
glew: update
Most code taken from the huge pull request https://github.com/mornfall/nixpkgs/commit/f28674a68b497363b0bf34886c0c20ed260257e8 and added another update, changed description.
Diffstat (limited to 'pkgs/development/libraries/glew')
-rw-r--r-- | pkgs/development/libraries/glew/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix index db36944dcb241..77686c9a7de6e 100644 --- a/pkgs/development/libraries/glew/default.nix +++ b/pkgs/development/libraries/glew/default.nix @@ -1,23 +1,25 @@ { stdenv, fetchurl, mesa, x11, libXmu, libXi }: stdenv.mkDerivation rec { - name = "glew-1.7.0"; + name = "glew-1.9.0"; src = fetchurl { url = "mirror://sourceforge/glew/${name}.tgz"; - sha256 = "02aw6sc4v1434m7awfcxqb0v987i2ykg3fncnp21i9g1n4zsclqn"; + sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv"; }; buildInputs = [ mesa x11 libXmu libXi ]; - 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"; + installPhase = '' + GLEW_DEST=$out make install + mkdir -pv $out/share/doc/glew + mkdir -p $out/lib/pkgconfig + cp glew*.pc $out/lib/pkgconfig + cp -r README.txt LICENSE.txt doc $out/share/doc/glew + ''; + + meta = { + description = "An OpenGL extension loading library for C(++)"; homepage = http://glew.sourceforge.net/; license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0 }; |