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

DESCRIPTION="SPDX license expression language, Extras"
HOMEPAGE="https://github.com/phadej/spdx"

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

CABAL_CHDEPS=(
	'tasty             ^>=1.5' 'tasty >= 1.4'
	'tasty-quickcheck  ^>=0.11' 'tasty-quickcheck >= 0.10'
	)

RDEPEND=">=dev-haskell/puresat-0.1:=[profile?] <dev-haskell/puresat-0.2:=[profile?]
	>=dev-lang/ghc-9.6.5:=
	>=dev-haskell/cabal-syntax-3.10.3.0:=[profile?] <dev-haskell/cabal-syntax-3.13:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.10.3.0
	test? ( dev-haskell/cabal-syntax
		>=dev-haskell/tasty-1.4
		>=dev-haskell/tasty-quickcheck-0.10 )
"