2013-10-30 14:05:53 +01:00
|
|
|
{ cabal, lua, mtl }:
|
2013-09-16 11:11:30 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hslua";
|
2013-10-30 14:05:53 +01:00
|
|
|
version = "0.3.8";
|
|
|
|
sha256 = "1yb23cyb3wj70z8lvk6w2sn13kc17v53fd8m587kb4fpqzpdz44d";
|
2013-09-16 11:11:30 +02:00
|
|
|
buildDepends = [ mtl ];
|
2013-10-30 14:05:53 +01:00
|
|
|
pkgconfigDepends = [ lua ];
|
|
|
|
configureFlags = "-fsystem-lua";
|
2013-09-16 11:11:30 +02:00
|
|
|
meta = {
|
|
|
|
description = "A Lua language interpreter embedding in Haskell";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|