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

EAPI=8

# ebuild generated by hackport 0.8.5.1.9999

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

DESCRIPTION="Nat and Fin: peano naturals and finite numbers"
HOMEPAGE="https://github.com/phadej/vec"

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

CABAL_CHDEPS=(
	'base     >=4.12.0.0 && <4.21' 'base     >=4.12.0.0'
)

RDEPEND=">=dev-haskell/boring-0.2.2:=[profile?] <dev-haskell/boring-0.3:=[profile?]
	>=dev-haskell/dec-0.0.6:=[profile?] <dev-haskell/dec-0.1:=[profile?]
	>=dev-haskell/some-1.0.6:=[profile?] <dev-haskell/some-1.1:=[profile?]
	>=dev-haskell/universe-base-1.1.4:=[profile?] <dev-haskell/universe-base-1.2:=[profile?]
	>=dev-lang/ghc-9.0.2:=
	>=dev-haskell/hashable-1.4.4.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] <dev-haskell/hashable-1.6:=[profile?]
	>=dev-haskell/quickcheck-2.14.2:=[profile?] <dev-haskell/quickcheck-2.16:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( >=dev-haskell/inspection-testing-0.2.0.1 <dev-haskell/inspection-testing-0.6
		dev-haskell/tagged )
"