2012-02-14 17:00:37 +00:00
|
|
|
{ cabal, Cabal, freeglut, libICE, libSM, libXi, libXmu, mesa
|
|
|
|
, OpenGL
|
|
|
|
}:
|
2010-04-01 11:56:48 +01:00
|
|
|
|
2011-08-15 12:27:02 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2010-04-01 11:56:48 +01:00
|
|
|
pname = "GLUT";
|
2011-08-23 11:35:49 +01:00
|
|
|
version = "2.1.2.1";
|
2011-03-12 17:28:15 +00:00
|
|
|
sha256 = "0r3js5i468lqlsnvb04iw6gdl81gs3cgqids3xpi4p5qpynbyc02";
|
2012-02-14 17:00:37 +00:00
|
|
|
buildDepends = [ Cabal OpenGL ];
|
2011-09-05 20:24:12 +01:00
|
|
|
extraLibraries = [ freeglut libICE libSM libXi libXmu mesa ];
|
2010-04-01 11:56:48 +01:00
|
|
|
meta = {
|
2011-08-15 12:27:02 +01:00
|
|
|
homepage = "http://www.haskell.org/HOpenGL/";
|
2010-04-01 11:56:48 +01:00
|
|
|
description = "A binding for the OpenGL Utility Toolkit";
|
2011-08-15 12:27:02 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2010-04-01 11:56:48 +01:00
|
|
|
};
|
2011-03-28 16:04:00 +01:00
|
|
|
})
|