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.6";
|
2011-03-12 18:28:15 +01:00
|
|
|
sha256 = "0q6dnwihi1q761qdq0hhi733nh5d53xz6frwmr7slpvrp6v8y344";
|
2011-08-10 02:35:08 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ mtl ];
|
2011-08-10 02:35:08 +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;
|
2014-08-12 11:56:50 +02:00
|
|
|
hydraPlatforms = self.stdenv.lib.platforms.none;
|
2009-04-19 13:44:37 +02:00
|
|
|
};
|
|
|
|
})
|