2008-01-22 17:26:57 +01:00
|
|
|
{cabal, libX11, xineramaSupport ? true, libXinerama ? null, libXext ? null}:
|
2008-01-16 11:35:49 +01:00
|
|
|
|
|
|
|
assert xineramaSupport -> (libXinerama != null && libXext != null);
|
|
|
|
|
2008-01-22 17:26:57 +01:00
|
|
|
cabal.mkDerivation (self : {
|
2008-01-16 11:35:49 +01:00
|
|
|
pname = "X11";
|
2009-11-06 14:08:47 +01:00
|
|
|
version = "1.4.6.1";
|
|
|
|
sha256 = "3e1375d4e53a8366fa2ea12bd9c3033ffe2f7dd00443acd84f722cf0dfff0fa9";
|
2008-01-22 17:26:57 +01:00
|
|
|
propagatedBuildInputs = [libX11] ++ (if xineramaSupport then [libXinerama libXext] else []);
|
2008-01-16 11:35:49 +01:00
|
|
|
meta = {
|
|
|
|
description = "A Haskell binding to the X11 graphics library";
|
|
|
|
};
|
|
|
|
})
|