2012-04-16 14:07:58 +02:00
|
|
|
{ cabal, libX11, mesa, wxdirect, wxGTK }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wxc";
|
2014-03-26 09:51:04 +01:00
|
|
|
version = "0.90.1.1";
|
|
|
|
sha256 = "0cvfphskvsq3lsl24h6jh8r6yw5jg8qa9wdc883yasfvmzmxwwgc";
|
2012-04-16 14:07:58 +02:00
|
|
|
buildDepends = [ wxdirect ];
|
|
|
|
extraLibraries = [ libX11 mesa wxGTK ];
|
2013-11-02 19:09:08 +01:00
|
|
|
noHaddock = true;
|
2014-03-26 09:51:04 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
})
|