2013-09-17 11:29:41 +02:00
|
|
|
{ cabal, mtl, perl }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "happy";
|
2013-12-02 20:43:21 +01:00
|
|
|
version = "1.19.2";
|
|
|
|
sha256 = "1m74dz83fs7gbcr040nhfx1xw3smjk24g5cp6a0wxvrmlh12yc66";
|
2013-09-17 11:29:41 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ mtl ];
|
|
|
|
buildTools = [ perl ];
|
2014-01-09 10:57:30 +01:00
|
|
|
patchPhase = "sed -i -e '/^import Data.Monoid/d' Setup.lhs";
|
2013-09-17 11:29:41 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
})
|