# Copyright 1999-2025 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_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Tests defined by Search Using Golden Answer References"
HOMEPAGE="https://github.com/kquick/tasty-sugar"

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

CABAL_CHDEPS=(
	'hedgehog >= 1.1 && < 1.5' 'hedgehog >= 1.1'
)

RDEPEND=">=dev-haskell/filemanip-0.3:=[profile?] <dev-haskell/filemanip-0.4:=[profile?]
	>=dev-haskell/kvitable-1.1.0.0:=[profile?] <dev-haskell/kvitable-1.2:=[profile?]
	>=dev-haskell/logict-0.7.0.3:=[profile?] <dev-haskell/logict-0.9:=[profile?]
	>=dev-haskell/microlens-0.4:=[profile?] <dev-haskell/microlens-0.5:=[profile?]
	>=dev-haskell/optparse-applicative-0.15:=[profile?] <dev-haskell/optparse-applicative-0.19:=[profile?]
	>=dev-haskell/parallel-3.2:=[profile?] <dev-haskell/parallel-3.3:=[profile?]
	>=dev-haskell/prettyprinter-1.7.0:=[profile?] <dev-haskell/prettyprinter-1.8:=[profile?]
	>=dev-haskell/tasty-1.2:=[profile?] <dev-haskell/tasty-1.6:=[profile?]
	dev-haskell/text:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( >=dev-haskell/hedgehog-1.1
		>=dev-haskell/pretty-show-1.9 <dev-haskell/pretty-show-1.11
		>=dev-haskell/raw-strings-qq-1.1 <dev-haskell/raw-strings-qq-1.2
		>=dev-haskell/tasty-hedgehog-1.4 <dev-haskell/tasty-hedgehog-1.5
		>=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 )
"