mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00: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 ];
|
|
};
|
|
})
|