2013-10-30 13:05:53 +00:00
|
|
|
{ cabal, lua, mtl }:
|
2013-09-16 10:11:30 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hslua";
|
2014-01-01 23:21:13 +00:00
|
|
|
version = "0.3.10";
|
|
|
|
sha256 = "1d79sp9xmzbq74jk7kj81j0z4vm813fkkxkpbyzg07x649i6q0v2";
|
2013-09-16 10:11:30 +01:00
|
|
|
buildDepends = [ mtl ];
|
2013-10-30 13:05:53 +00:00
|
|
|
pkgconfigDepends = [ lua ];
|
|
|
|
configureFlags = "-fsystem-lua";
|
2013-09-16 10:11:30 +01:00
|
|
|
meta = {
|
|
|
|
description = "A Lua language interpreter embedding in Haskell";
|
2013-11-26 10:39:55 +00:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2013-09-16 10:11:30 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|