# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.8.4.0.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Parser for JavaScript"
HOMEPAGE="https://github.com/erikd/language-javascript"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-haskell/blaze-builder-0.2:=[profile?]
	>=dev-haskell/text-1.2:=[profile?]
	>=dev-haskell/utf8-string-0.3.7:=[profile?] <dev-haskell/utf8-string-2
	>=dev-lang/ghc-8.10.6:=
"
DEPEND="
	${RDEPEND}
	dev-haskell/alex
	>=dev-haskell/cabal-3.2.1.0
	dev-haskell/happy
	test? (
		dev-haskell/hspec
		>=dev-haskell/quickcheck-2
		>=dev-haskell/utf8-light-0.4
	)
"