2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, mtl, perl }:
|
2009-04-19 13:44:37 +02:00
|
|
|
|
2011-08-10 02:35:08 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-19 13:44:37 +02:00
|
|
|
pname = "happy";
|
2011-08-10 02:35:08 +02:00
|
|
|
version = "1.18.4";
|
2009-06-03 10:44:41 +02:00
|
|
|
sha256 = "909bec4541a92d3765e74756f752514d2d03ec7a5d3e74c18268a57fe7ffa832";
|
2011-08-10 02:35:08 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ mtl ];
|
2011-09-05 21:31:42 +02:00
|
|
|
buildTools = [ perl ];
|
2013-04-19 14:14:40 +02:00
|
|
|
patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
|
2009-04-19 13:44:37 +02:00
|
|
|
meta = {
|
2011-08-10 02:35:08 +02:00
|
|
|
homepage = "http://www.haskell.org/happy/";
|
2009-04-19 13:44:37 +02:00
|
|
|
description = "Happy is a parser generator for Haskell";
|
2011-08-10 02:35:08 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-04-19 13:44:37 +02:00
|
|
|
};
|
|
|
|
})
|