2011-03-12 18:28:15 +01:00
|
|
|
{cabal, time, parsec, stm, wxdirect, libX11, mesa, wxGTK}:
|
2009-05-04 15:32:59 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "wxcore";
|
2011-03-12 18:28:15 +01:00
|
|
|
version = "0.12.1.6";
|
|
|
|
sha256 = "162m7z8nzdwsszha87mvz7dzxh268n0sgymf3vq2yn5axw7zx5ap";
|
|
|
|
propagatedBuildInputs = [time parsec stm libX11 wxGTK mesa wxdirect];
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal
|
|
|
|
'';
|
2009-05-04 15:32:59 +02:00
|
|
|
/* configureFlags = [ "--with-opengl" ]; */
|
2011-03-12 18:28:15 +01:00
|
|
|
/*
|
2009-05-04 15:32:59 +02:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/ghc-pkg latest/ghc-pkg --global latest/g' configure
|
|
|
|
sed -i 's/pkg describe/pkg --global describe/g' configure
|
|
|
|
'';
|
2011-03-12 18:28:15 +01:00
|
|
|
*/
|
2009-05-04 15:32:59 +02:00
|
|
|
meta = {
|
|
|
|
description = "wxHaskell core";
|
|
|
|
};
|
2011-03-28 17:04:00 +02:00
|
|
|
})
|
2009-05-04 15:32:59 +02:00
|
|
|
|