Added final(?) set of Haskell Platform packages.

svn path=/nixpkgs/trunk/; revision=15160
This commit is contained in:
Andres Löh 2009-04-19 16:26:27 +00:00
parent 6aa0719e53
commit 8b678d5308
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{cabal, OpenGL, glut}:
cabal.mkDerivation (self : {
pname = "GLUT";
version = "2.1.1.2"; # Haskell Platform 2009.0.0
sha256 = "d5ecf4b6bacc5e68ade00710df04fa158c6ed322c74362954716a0baba6bd3fb";
propagatedBuildInputs = [OpenGL glut];
meta = {
description = "A binding for the OpenGL Utility Toolkit";
};
})

View file

@ -0,0 +1,12 @@
{cabal, OpenGL, openal}:
cabal.mkDerivation (self : {
pname = "OpenAL";
version = "1.3.1.1"; # Haskell Platform 2009.0.0
sha256 = "4875e015770feb93d5127d4b6f2338eb3957a0c36f64ccb8b3846010619f89b0";
propagatedBuildInputs = [OpenGL openal];
meta = {
description = "A binding to the OpenAL cross-platform 3D audio API";
};
})

View file

@ -51,6 +51,11 @@ rec {
ghcPaths = import ../development/libraries/haskell/ghc-paths {
inherit cabal;
};
GLUT = import ../development/libraries/haskell/GLUT {
inherit cabal OpenGL;
glut = pkgs.freeglut;
};
gtk2hs = import ../development/libraries/haskell/gtk2hs {
inherit ghc mtl;
@ -115,6 +120,11 @@ rec {
inherit cabal parsec;
};
OpenAL = import ../development/libraries/haskell/OpenAL {
inherit cabal OpenGL;
inherit (pkgs) openal;
};
OpenGL = import ../development/libraries/haskell/OpenGL {
inherit cabal;
inherit (pkgs) mesa;