| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1.0.1 | 8 | ~amd64 | 0/0.1.0.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.0.0.9999
CABAL_HACKAGE_REVISION=1
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Parse Haskell Language Extensions"
HOMEPAGE="https://github.com/kowainik/extensions"
LICENSE="MPL-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+executable"
CABAL_CHDEPS=(
'hedgehog >= 1.0 && < 1.5' 'hedgehog >= 1.0'
'optparse-applicative >= 0.15 && < 0.18' 'optparse-applicative >= 0.15'
)
RDEPEND=">=dev-haskell/cabal-3.10:=[profile?] <dev-haskell/cabal-3.11:=[profile?]
>=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
>=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-2.2:=[profile?]
>=dev-lang/ghc-9.0.2:=
executable? ( >=dev-haskell/colourista-0.1:=[profile?] <dev-haskell/colourista-0.3:=[profile?]
>=dev-haskell/optparse-applicative-0.15:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( >=dev-haskell/hedgehog-1.0
dev-haskell/hspec
>=dev-haskell/hspec-hedgehog-0.0.1 <dev-haskell/hspec-hedgehog-0.2 )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag executable executable)
}
>=dev-haskell/cabal-3.10:=[profile?] <dev-haskell/cabal-3.11:=[profile?] >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-2.2:=[profile?] >=dev-lang/ghc-9.0.2:= executable? ( >=dev-haskell/colourista-0.1:=[profile?] <dev-haskell/colourista-0.3:=[profile?] >=dev-haskell/optparse-applicative-0.15:=[profile?] ) >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/hedgehog-1.0 dev-haskell/hspec >=dev-haskell/hspec-hedgehog-0.0.1 <dev-haskell/hspec-hedgehog-0.2 )
>=dev-haskell/cabal-3.10:=[profile?] <dev-haskell/cabal-3.11:=[profile?] >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-2.2:=[profile?] >=dev-lang/ghc-9.0.2:= executable? ( >=dev-haskell/colourista-0.1:=[profile?] <dev-haskell/colourista-0.3:=[profile?] >=dev-haskell/optparse-applicative-0.15:=[profile?] )