glew added
svn path=/nixpkgs/trunk/; revision=10164
This commit is contained in:
parent
434fef9891
commit
dc2769ded8
17
pkgs/development/libraries/glew/default.nix
Normal file
17
pkgs/development/libraries/glew/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
args:
|
||||||
|
args.stdenv.mkDerivation {
|
||||||
|
name = "glew-1.5.0";
|
||||||
|
|
||||||
|
src = args.fetchurl {
|
||||||
|
url = http://dfn.dl.sourceforge.net/sourceforge/glew/glew-1.5.0-src.tgz;
|
||||||
|
sha256 = "1kjr1fchnl785wsg11vzc03q3pm12lh20n1i593zr1xqfjgx2b4h";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =(with args; [mesa x11 libXmu libXi libtool]);
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "cross-platform open-source C/C++ extension loading library";
|
||||||
|
homepage = http://glew.sourceforge.net/;
|
||||||
|
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0
|
||||||
|
};
|
||||||
|
}
|
@ -1852,6 +1852,11 @@ rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
glew = import ../development/libraries/glew {
|
||||||
|
inherit fetchurl stdenv mesa x11;
|
||||||
|
inherit (xlibs) libXmu libXi;
|
||||||
|
};
|
||||||
|
|
||||||
glibc = useFromStdenv (stdenv ? glibc) stdenv.glibc
|
glibc = useFromStdenv (stdenv ? glibc) stdenv.glibc
|
||||||
(import ../development/libraries/glibc {
|
(import ../development/libraries/glibc {
|
||||||
inherit fetchurl stdenv kernelHeaders;
|
inherit fetchurl stdenv kernelHeaders;
|
||||||
|
Loading…
Reference in New Issue
Block a user