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-08-17 10:13:01 +01:00
|
|
|
version = "0.2.5";
|
|
|
|
sha256 = "1l3q156m3l3fawsrgj3fr16qxr0apwg2si410j0f5hsgfmkhdrm6";
|
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;
|
|
|
|
};
|
|
|
|
})
|