2011-03-12 17:28:15 +00:00
|
|
|
{cabal, syb, libX11, xineramaSupport ? true, libXinerama ? null, libXext ? null}:
|
2008-01-16 10:35:49 +00:00
|
|
|
|
|
|
|
assert xineramaSupport -> (libXinerama != null && libXext != null);
|
|
|
|
|
2008-01-22 16:26:57 +00:00
|
|
|
cabal.mkDerivation (self : {
|
2008-01-16 10:35:49 +00:00
|
|
|
pname = "X11";
|
2010-01-04 17:40:51 +00:00
|
|
|
version = "1.5.0.0";
|
|
|
|
sha256 = "653ff8aa4053574a36dbb1729459df6e5a1a87a223bc3eeced8e40c6e3a5406f";
|
2011-03-12 17:28:15 +00:00
|
|
|
propagatedBuildInputs = [libX11 syb] ++ (if xineramaSupport then [libXinerama libXext] else []);
|
2008-01-16 10:35:49 +00:00
|
|
|
meta = {
|
|
|
|
description = "A Haskell binding to the X11 graphics library";
|
|
|
|
};
|
|
|
|
})
|