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

DESCRIPTION="Used to be Haskell 98 Lenses"
HOMEPAGE="https://github.com/roconnor/data-lens/"

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

CABAL_CHDEPS=(
	'containers           >= 0.3     && < 0.6' 'containers >=0.3'
	'semigroupoids        >= 4.0     && < 5.3' 'semigroupoids >=4.0'
	'transformers         >= 0.4     && < 0.6' 'transformers >=0.4'
)

RDEPEND=">=dev-haskell/comonad-4.0:=[profile?] <dev-haskell/comonad-5.1:=[profile?]
	>=dev-haskell/semigroupoids-4.0:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"