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

DESCRIPTION="Adds support for using web-routes with Happstack"
HOMEPAGE="https://hackage.haskell.org/package/web-routes-happstack"

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

CABAL_CHDEPS=(
	'bytestring       >= 0.9    && < 0.12' 'bytestring >= 0.9'
	'happstack-server >= 6.6    && < 7.9' 'happstack-server >= 6.6'
	'text             >= 0.11   && < 2.1' 'text >= 0.11'
	)

RDEPEND=">=dev-haskell/happstack-server-6.6:=[profile?]
	>=dev-haskell/text-0.11:=[profile?]
	>=dev-haskell/web-routes-0.27.1:=[profile?] <dev-haskell/web-routes-0.28:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"