# 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_HACKAGE_REVISION=1

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

DESCRIPTION="Text styling for ANSI terminals"
HOMEPAGE="https://github.com/awkward-squad/text-ansi"

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

CABAL_CHDEPS=(
	'base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20' 'base >= 4.16'
	)

RDEPEND=">=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
	>=dev-haskell/text-builder-linear-0.1.1:=[profile?] <dev-haskell/text-builder-linear-0.2:=[profile?]
	>=dev-lang/ghc-9.2.4:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.6.3.0
"