20 lines
647 B
Nix
20 lines
647 B
Nix
|
{ 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
|
||
|
];
|
||
|
};
|
||
|
})
|