2b56b020c7
Alex and happy use CPP to generate some internal template files, but the code is unprepared for the output from CPP 4.8.0, which generates LINE pragmas that contain more information than they thought it would.
22 lines
639 B
Nix
22 lines
639 B
Nix
{ cabal, mtl, perl }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "happy";
|
|
version = "1.18.6";
|
|
sha256 = "0q6dnwihi1q761qdq0hhi733nh5d53xz6frwmr7slpvrp6v8y344";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [ mtl ];
|
|
buildTools = [ perl ];
|
|
patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
|
|
meta = {
|
|
homepage = "http://www.haskell.org/happy/";
|
|
description = "Happy is a parser generator for Haskell";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|