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

EAPI=8

# ebuild generated by hackport 0.8.2.0.9999

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

DESCRIPTION="A mustache template parser library"
HOMEPAGE="https://github.com/JustusAdam/mustache"

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

PATCHES=(
	"${FILESDIR}/${PN}-2.3.2-disable-langspec-tests.patch"
)

RDEPEND="dev-haskell/aeson:=[profile?]
	dev-haskell/cmdargs:=[profile?]
	dev-haskell/parsec:=[profile?]
	dev-haskell/scientific:=[profile?]
	dev-haskell/text:=[profile?]
	dev-haskell/th-lift:=[profile?]
	dev-haskell/unordered-containers:=[profile?]
	dev-haskell/vector:=[profile?]
	dev-haskell/yaml:=[profile?]
	>=dev-lang/ghc-8.8.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.0.0.0
	test? ( dev-haskell/base-unicode-symbols
		dev-haskell/hspec
		dev-haskell/lens
		dev-haskell/tar
		dev-haskell/temporary
		dev-haskell/wreq
		dev-haskell/zlib )
"