2012-04-16 14:07:58 +02:00
|
|
|
{ cabal, libX11, mesa, wxdirect, wxGTK }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wxc";
|
2012-05-15 13:50:48 +02:00
|
|
|
version = "0.90.0.3";
|
|
|
|
sha256 = "14b8g2w4knwxj5vkp759y8m3nmsi4n1zy57ma1kz7lw6jklb7dlq";
|
2012-04-16 14:07:58 +02:00
|
|
|
buildDepends = [ wxdirect ];
|
|
|
|
extraLibraries = [ libX11 mesa wxGTK ];
|
2012-04-17 15:56:34 +02:00
|
|
|
noHaddock = true;
|
|
|
|
postInstall = ''
|
|
|
|
cp -v dist/build/libwxc.so.${self.version} $out/lib/libwxc.so
|
|
|
|
'';
|
|
|
|
|
2012-04-16 14:07:58 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://haskell.org/haskellwiki/WxHaskell";
|
|
|
|
description = "wxHaskell C++ wrapper";
|
|
|
|
license = "unknown";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|