2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, freeglut, libICE, libSM, libXi, libXmu, mesa, OpenGL }:
|
2009-04-19 16:26:27 +00:00
|
|
|
|
2011-08-15 11:27:02 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-19 16:26:27 +00:00
|
|
|
pname = "GLUT";
|
2011-08-23 10:35:49 +00:00
|
|
|
version = "2.1.1.2";
|
2009-04-19 16:26:27 +00:00
|
|
|
sha256 = "d5ecf4b6bacc5e68ade00710df04fa158c6ed322c74362954716a0baba6bd3fb";
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ OpenGL ];
|
2011-09-05 19:24:12 +00:00
|
|
|
extraLibraries = [ freeglut libICE libSM libXi libXmu mesa ];
|
2009-04-19 16:26:27 +00:00
|
|
|
meta = {
|
2011-08-15 11:27:02 +00:00
|
|
|
homepage = "http://www.haskell.org/HOpenGL/";
|
2009-04-19 16:26:27 +00:00
|
|
|
description = "A binding for the OpenGL Utility Toolkit";
|
2011-08-15 11:27:02 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-04-19 16:26:27 +00:00
|
|
|
};
|
2011-03-28 15:04:00 +00:00
|
|
|
})
|