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