2013-06-04 16:44:47 +01:00
|
|
|
{ cabal, alex, cpphs, filepath, HUnit, mtl, parsec, QuickCheck, syb
|
|
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "language-java";
|
2013-11-25 11:46:59 +00:00
|
|
|
version = "0.2.6";
|
|
|
|
sha256 = "1rwkc71c77v1lm5vnfkf7wr4lzvkpdylwz8wia40xwyxidq9qv27";
|
2013-06-04 16:44:47 +01:00
|
|
|
buildDepends = [ cpphs parsec syb ];
|
|
|
|
testDepends = [
|
|
|
|
filepath HUnit mtl QuickCheck testFramework testFrameworkHunit
|
|
|
|
testFrameworkQuickcheck2
|
|
|
|
];
|
|
|
|
buildTools = [ alex ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
2013-08-17 10:13:01 +01:00
|
|
|
homepage = "http://github.com/vincenthz/language-java";
|
2013-06-04 16:44:47 +01:00
|
|
|
description = "Manipulating Java source: abstract syntax, lexer, parser, and pretty-printer";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|