2012-04-16 13:07:58 +01:00
|
|
|
{ cabal, libX11, mesa, wxdirect, wxGTK }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wxc";
|
2012-07-05 08:58:10 +01:00
|
|
|
version = "0.90.0.4";
|
|
|
|
sha256 = "1bh20i1rb8ng0ni1v98nm8qv5wni19dvxwf5i3ijxhrxqdq4i7p6";
|
2012-04-16 13:07:58 +01:00
|
|
|
buildDepends = [ wxdirect ];
|
|
|
|
extraLibraries = [ libX11 mesa wxGTK ];
|
2012-04-17 14:56:34 +01:00
|
|
|
postInstall = ''
|
|
|
|
cp -v dist/build/libwxc.so.${self.version} $out/lib/libwxc.so
|
|
|
|
'';
|
2013-01-07 11:14:33 +00:00
|
|
|
patches = [ ./fix-bogus-pointer-assignment.patch ];
|
2013-11-02 18:09:08 +00:00
|
|
|
noHaddock = true;
|
2012-04-16 13:07:58 +01: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 ];
|
|
|
|
};
|
|
|
|
})
|