mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
ed3ca23cb1
This patch works around <https://github.com/simonmar/happy/issues/16>.
20 lines
589 B
Nix
20 lines
589 B
Nix
{ cabal, mtl, perl }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "happy";
|
|
version = "1.19.2";
|
|
sha256 = "1m74dz83fs7gbcr040nhfx1xw3smjk24g5cp6a0wxvrmlh12yc66";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [ mtl ];
|
|
buildTools = [ perl ];
|
|
patchPhase = "sed -i -e '/^import Data.Monoid/d' Setup.lhs";
|
|
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 ];
|
|
};
|
|
})
|