# 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=2
CABAL_PN="TypeCompose"

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

DESCRIPTION="Type composition classes & instances"
HOMEPAGE="https://github.com/conal/TypeCompose"

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

CABAL_CHDEPS=(
	'base >=4.9 && <4.16' 'base >= 4.9'
	)

PATCHES=(
	"${FILESDIR}"/${P}-ghc92.patch
		)

RDEPEND=">=dev-haskell/base-orphans-0.5:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"