# 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="test-suite"
inherit haskell-cabal

DESCRIPTION="Format .cabal files"
HOMEPAGE="https://hackage.haskell.org/package/cabal-fmt"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

CABAL_CHDEPS=(
	'optparse-applicative >=0.14.3.0 && <0.18' 'optparse-applicative >=0.14.3.0'
)

RDEPEND=">=dev-haskell/cabal-syntax-3.8.1.0:= <dev-haskell/cabal-syntax-3.9:=
	>=dev-haskell/optparse-applicative-0.14.3.0:=
	>=dev-haskell/parsec-3.1.13.0:= <dev-haskell/parsec-3.2:=
	>=dev-lang/ghc-8.10.6:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.2.1.0
	test? (
		>=dev-haskell/integer-logarithms-1.0.3.1 <dev-haskell/integer-logarithms-1.1
		dev-haskell/quickcheck
		dev-haskell/tasty
		dev-haskell/tasty-golden
		dev-haskell/tasty-hunit
		dev-haskell/tasty-quickcheck
		dev-haskell/temporary
	)
"