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

DESCRIPTION="Optics as an abstract interface"
HOMEPAGE="https://hackage.haskell.org/package/optics"

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

RDEPEND="
	=dev-haskell/optics-core-0.4.1*:=[profile?]
	=dev-haskell/optics-extra-0.4.2*:=[profile?]
	=dev-haskell/optics-th-0.4.1*:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="
	${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? (
		=dev-haskell/indexed-profunctors-0.1*
		=dev-haskell/inspection-testing-0.5*
		dev-haskell/quickcheck
		dev-haskell/random
		dev-haskell/tasty
		dev-haskell/tasty-hunit
		dev-haskell/tasty-quickcheck
	)
"