2011-03-12 18:28:15 +01:00
|
|
|
{cabal, syb, 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";
|
2010-01-04 18:40:51 +01:00
|
|
|
version = "1.5.0.0";
|
|
|
|
sha256 = "653ff8aa4053574a36dbb1729459df6e5a1a87a223bc3eeced8e40c6e3a5406f";
|
2011-03-12 18:28:15 +01:00
|
|
|
propagatedBuildInputs = [libX11 syb] ++ (if xineramaSupport then [libXinerama libXext] else []);
|
2008-01-16 11:35:49 +01:00
|
|
|
meta = {
|
2011-08-15 13:27:02 +02:00
|
|
|
homepage = "http://code.haskell.org/X11";
|
|
|
|
description = "A binding to the X11 graphics library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2008-01-16 11:35:49 +01:00
|
|
|
};
|
|
|
|
})
|