haskell-GLUT: added version 2.2.2.0

svn path=/nixpkgs/trunk/; revision=28566
This commit is contained in:
Peter Simons 2011-08-14 10:44:57 +00:00
parent 10edd5b215
commit 4beef684a8
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,19 @@
{ cabal, glut, OpenGL, StateVar, Tensor, libSM, libICE, libXmu, libXi, mesa }:
cabal.mkDerivation (self: {
pname = "GLUT";
version = "2.2.2.0";
sha256 = "0hilpjwkjvpz4sz0zqa36vmx8m1yycjnqdd721mqns7lib2fnzrx";
buildDepends = [ OpenGL StateVar Tensor ];
extraLibraries = [ glut libSM libICE libXmu libXi mesa ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
description = "A binding for the OpenGL Utility Toolkit";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -611,13 +611,17 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
inherit (pkgs) mesa;
inherit (pkgs.xlibs) libSM libICE libXmu libXi;
};
GLUT_2_1_2_1 = callPackage ../development/libraries/haskell/GLUT/2.1.2.1.nix {
glut = pkgs.freeglut;
inherit (pkgs) mesa;
inherit (pkgs.xlibs) libSM libICE libXmu libXi;
};
GLUT_2_2_2_0 = callPackage ../development/libraries/haskell/GLUT/2.2.2.0.nix {
glut = pkgs.freeglut;
OpenGL = self.OpenGL_2_4_0_1;
inherit (pkgs) mesa;
inherit (pkgs.xlibs) libSM libICE libXmu libXi;
};
GLUT = self.GLUT_2_1_1_2;
gtk = callPackage ../development/libraries/haskell/gtk {