# Copyright 1999-2024 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_HACKAGE_REVISION=3

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

DESCRIPTION="Automatic derivation of querying functions for servant"
HOMEPAGE="https://docs.servant.dev/"

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

RDEPEND=">=dev-haskell/base-compat-0.10.5:=[profile?] <dev-haskell/base-compat-0.14:=[profile?]
	>=dev-haskell/http-client-0.5.13.1:=[profile?] <dev-haskell/http-client-0.8:=[profile?]
	>=dev-haskell/http-media-0.7.1.3:=[profile?] <dev-haskell/http-media-0.9:=[profile?]
	>=dev-haskell/http-types-0.12.2:=[profile?] <dev-haskell/http-types-0.13:=[profile?]
	>=dev-haskell/kan-extensions-5.2:=[profile?] <dev-haskell/kan-extensions-5.3:=[profile?]
	>=dev-haskell/monad-control-1.0.2.3:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
	>=dev-haskell/semigroupoids-5.3.1:=[profile?] <dev-haskell/semigroupoids-6.1:=[profile?]
	>=dev-haskell/servant-0.20:=[profile?] <dev-haskell/servant-0.21:=[profile?]
	>=dev-haskell/servant-client-core-0.20:=[profile?] <dev-haskell/servant-client-core-0.21:=[profile?]
	>=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
	>=dev-haskell/transformers-base-0.4.5.2:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
	>=dev-haskell/transformers-compat-0.6.2:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( dev-haskell/aeson
		>=dev-haskell/entropy-0.4.1.3 <dev-haskell/entropy-0.5
		>=dev-haskell/hspec-2.6.0 <dev-haskell/hspec-2.12
		dev-haskell/http-api-data
		>=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7
		dev-haskell/markdown-unlit
		>=dev-haskell/network-2.8.0.0 <dev-haskell/network-3.2
		>=dev-haskell/quickcheck-2.12.6.1 <dev-haskell/quickcheck-2.15
		>=dev-haskell/servant-server-0.20 <dev-haskell/servant-server-0.21
		dev-haskell/sop-core
		dev-haskell/wai
		dev-haskell/warp )
"