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

EAPI=8

# ebuild generated by hackport 0.8.0.0.9999

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

DESCRIPTION="An implementation of the Jinja2 template language in Haskell"
HOMEPAGE="https://ginger.tobiasdammers.nl/"

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

CABAL_CHDEPS=(
	'aeson >=1.4.2.0 && <2.1' 'aeson >=1.4.2.0'
	'optparse-applicative >=0.14.3.0 && <0.17' 'optparse-applicative >=0.14.3.0'
)

RDEPEND="
	>=dev-haskell/aeson-1.4.2.0:=[profile?]
	>=dev-haskell/aeson-pretty-0.8.7:=[profile?] <dev-haskell/aeson-pretty-0.9:=[profile?]
	>=dev-haskell/data-default-0.5:=[profile?]
	>=dev-haskell/http-types-0.12:=[profile?]
	>=dev-haskell/optparse-applicative-0.14.3.0:=[profile?]
	|| ( dev-lang/ghc ( >=dev-haskell/process-1.6.5.0[profile?] <dev-haskell/process-1.7[profile?] ) )
	>=dev-haskell/regex-tdfa-1.2.3:=[profile?] <=dev-haskell/regex-tdfa-1.5:=[profile?]
	>=dev-haskell/safe-0.3:=[profile?]
	>=dev-haskell/scientific-0.3:=[profile?]
	>=dev-haskell/unordered-containers-0.2.5:=[profile?]
	>=dev-haskell/utf8-string-1.0.1.1:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
	>=dev-haskell/vector-0.12.0.2:=[profile?] <dev-haskell/vector-0.13:=[profile?]
	>=dev-haskell/yaml-0.11.0.0:=[profile?] <dev-haskell/yaml-0.12:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? (
		>=dev-haskell/tasty-1.2 <dev-haskell/tasty-1.5
		>=dev-haskell/tasty-hunit-0.10.0.1 <dev-haskell/tasty-hunit-0.11
		>=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11
	)
"