# 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

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

DESCRIPTION="Low-level Botan bindings"
HOMEPAGE="https://hackage.haskell.org/package/botan-low"

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

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

RDEPEND=">=dev-haskell/botan-bindings-0.3:=[profile?] <dev-haskell/botan-bindings-0.4:=[profile?]
	>=dev-lang/ghc-9.2.4:=
	>=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.2:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.6.3.0
	test? ( dev-haskell/async
		dev-haskell/hspec
		dev-haskell/quickcheck
		dev-haskell/tasty
		dev-haskell/tasty-hspec
		dev-haskell/tasty-hunit
		dev-haskell/tasty-quickcheck
		dev-haskell/text )
"