# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.9.1.0.9999

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

DESCRIPTION="Internal support package for clash-protocols; use clash-protocols instead"
HOMEPAGE="https://github.com/clash-lang/clash-protocols"

LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="large-tuples"
CABAL_CHDEPS=(
	'Cabal >=3.12 && <3.17' 'Cabal >=3.10'
	)

RDEPEND=">=dev-haskell/cabal-3.10:=[profile?]
	>=dev-haskell/circuit-notation-0.2:=[profile?] <dev-haskell/circuit-notation-0.3:=[profile?]
	>=dev-haskell/clash-prelude-1.10:=[profile?] <dev-haskell/clash-prelude-1.12:=[profile?]
	>=dev-haskell/extra-1.6.17:=[profile?] <dev-haskell/extra-1.9:=[profile?]
	>=dev-haskell/hashable-1.4.1:=[profile?] <dev-haskell/hashable-1.6:=[profile?]
	>=dev-haskell/tagged-0.8:=[profile?] <dev-haskell/tagged-0.9:=[profile?]
	>=dev-lang/ghc-9.6:=[profile?] <dev-lang/ghc-9.13:=[profile?]
	>=dev-lang/ghc-9.6.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.10.1.0
"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag large-tuples large-tuples)
}