2014-05-15 16:08:19 +02:00
|
|
|
{ cabal, bindingsDSL, HUnit, libX11, libXext, libXfixes, libXi
|
|
|
|
, libXrandr, libXxf86vm, mesa, testFramework, testFrameworkHunit
|
2014-05-15 13:46:20 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "bindings-GLFW";
|
|
|
|
version = "3.0.3.2";
|
|
|
|
sha256 = "1w4y2ha5x678fiyan79jd59mjrkf4q25v8049sj20fbmabgdqla9";
|
|
|
|
buildDepends = [ bindingsDSL ];
|
|
|
|
testDepends = [ HUnit testFramework testFrameworkHunit ];
|
2014-05-15 16:08:19 +02:00
|
|
|
extraLibraries = [
|
|
|
|
libX11 libXext libXfixes libXi libXrandr libXxf86vm mesa
|
|
|
|
];
|
2014-05-15 13:46:20 +02:00
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
|
|
description = "Low-level bindings to GLFW OpenGL library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|