2012-04-16 12:07:58 +00:00
|
|
|
{ cabal, libX11, mesa, wxdirect, wxGTK }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wxc";
|
|
|
|
version = "0.90.0.2";
|
|
|
|
sha256 = "1vqs9517qacm04d2bxpbpcdgfmlhpblm6af45nmcdikvlfa1v0jp";
|
|
|
|
buildDepends = [ wxdirect ];
|
|
|
|
extraLibraries = [ libX11 mesa wxGTK ];
|
2012-04-17 13:56:34 +00:00
|
|
|
noHaddock = true;
|
|
|
|
postInstall = ''
|
|
|
|
cp -v dist/build/libwxc.so.${self.version} $out/lib/libwxc.so
|
|
|
|
'';
|
|
|
|
|
2012-04-16 12:07:58 +00: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 ];
|
|
|
|
};
|
|
|
|
})
|