# 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
#hackport: flags: -pedantic

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

DESCRIPTION="Secure WebSocket (WSS) clients"
HOMEPAGE="https://hackage.haskell.org/package/wuss"

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

RDEPEND=">=dev-lang/ghc-9.8.2:=
	>=dev-haskell/crypton-connection-0.3.2:=[profile?]  <dev-haskell/crypton-connection-0.5:=[profile?]
	>=dev-haskell/data-default-0.7.0:=[profile?] <dev-haskell/data-default-0.9:=[profile?]
	>=dev-haskell/network-3.1.4.0:=[profile?] <dev-haskell/network-3.3:=[profile?]
	>=dev-haskell/websockets-0.12.7.3:=[profile?]  <dev-haskell/websockets-0.14:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.10.3.0
"

src_configure() {
	haskell-cabal_src_configure \
		--flag=-pedantic
}