haskell-OpenGL: added version 2.4.0.1

svn path=/nixpkgs/trunk/; revision=28565
This commit is contained in:
Peter Simons 2011-08-14 10:44:53 +00:00
parent 986792cb3c
commit 10edd5b215
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,19 @@
{ cabal, GLURaw, ObjectName, OpenGLRaw, StateVar, Tensor, mesa, libX11 }:
cabal.mkDerivation (self: {
pname = "OpenGL";
version = "2.4.0.1";
sha256 = "0xdclf0m7qxp4157053cbsybpy7fqiiiak0g2kyf8awr7a5736n5";
buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ];
extraLibraries = [ mesa libX11 ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
description = "A binding for the OpenGL graphics system";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -898,12 +898,14 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
inherit (pkgs) mesa; inherit (pkgs) mesa;
inherit (pkgs.xlibs) libX11; inherit (pkgs.xlibs) libX11;
}; };
OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix { OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix {
inherit (pkgs) mesa; inherit (pkgs) mesa;
inherit (pkgs.xlibs) libX11; inherit (pkgs.xlibs) libX11;
}; };
OpenGL_2_4_0_1 = callPackage ../development/libraries/haskell/OpenGL/2.4.0.1.nix {
inherit (pkgs) mesa;
inherit (pkgs.xlibs) libX11;
};
OpenGL = self.OpenGL_2_2_1_1; OpenGL = self.OpenGL_2_2_1_1;
OpenGLRaw = callPackage ../development/libraries/haskell/OpenGLRaw { OpenGLRaw = callPackage ../development/libraries/haskell/OpenGLRaw {