wai-extra-3.1.17.ebuild
Download (1.7 KB)
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.0.0.9999
#hackport: flags: build-example:examples
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Provides some basic WAI handlers and middleware"
HOMEPAGE="https://github.com/yesodweb/wai"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="examples"
CABAL_CHBINS=(
'example' "${PN}-example"
)
RDEPEND="dev-haskell/aeson:=[profile?]
>=dev-haskell/ansi-terminal-0.4:=[profile?]
dev-haskell/base64-bytestring:=[profile?]
dev-haskell/call-stack:=[profile?]
>=dev-haskell/case-insensitive-0.2:=[profile?]
dev-haskell/cookie:=[profile?]
dev-haskell/data-default:=[profile?]
>=dev-haskell/fast-logger-2.4.5:=[profile?]
>=dev-haskell/http-types-0.7:=[profile?]
dev-haskell/hunit:=[profile?]
>=dev-haskell/iproute-1.7.8:=[profile?]
>=dev-haskell/network-2.6.1.0:=[profile?]
>=dev-haskell/resourcet-0.4.6:=[profile?] <dev-haskell/resourcet-1.4:=[profile?]
>=dev-haskell/streaming-commons-0.2:=[profile?]
>=dev-haskell/text-0.7:=[profile?]
dev-haskell/vault:=[profile?]
>=dev-haskell/wai-3.2.4:=[profile?] <dev-haskell/wai-3.3:=[profile?]
>=dev-haskell/wai-logger-2.3.7:=[profile?]
>=dev-haskell/warp-3.3.22:=[profile?]
dev-haskell/word8:=[profile?]
>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? (
>=dev-haskell/hspec-1.3
dev-haskell/temporary
dev-haskell/zlib
)
"
BDEPEND="
test? (
dev-haskell/hspec-discover
)
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag examples build-example)
}
| ||