| # Copyright 1999-2012 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| CABAL_FEATURES="lib profile haddock" |
| inherit base haskell-cabal |
| |
| DESCRIPTION="Support for serialising Haskell to and from JSON" |
| HOMEPAGE="http://hackage.haskell.org/package/json" |
| SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
| |
| LICENSE="BSD" |
| SLOT="0" |
| KEYWORDS="amd64 ~ppc64 x86" |
| IUSE="" |
| |
| # TODO: look into adding dep syb and allow other ghc versions |
| # syb is a core package of ghc-6.10.1, and was previously included in base |
| |
| # enable map to dict? |
| |
| RDEPEND=">=dev-lang/ghc-6.10 |
| >=dev-haskell/cabal-1.2.0 |
| dev-haskell/mtl |
| dev-haskell/parsec" |
| |
| DEPEND="${RDEPEND}" |
| |
| PATCHES=("${FILESDIR}"/${P}-ghc-7.4.patch) |
| |
| HCFLAGS+=" -O0" #427838 |