# 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: -developer,+network-uri

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

DESCRIPTION="a Haskell client for the Selenium WebDriver protocol"
HOMEPAGE="https://github.com/haskell-webdriver/haskell-webdriver#readme"

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

RDEPEND=">=dev-haskell/aeson-0.6.2.0:=[profile?]
	>=dev-haskell/attoparsec-0.10:=[profile?]
	>=dev-haskell/attoparsec-aeson-2:=[profile?]
	>=dev-haskell/base64-bytestring-1.0:=[profile?]
	dev-haskell/call-stack:=[profile?]
	dev-haskell/data-default:=[profile?]
	>=dev-haskell/directory-tree-0.11:=[profile?]
	>=dev-haskell/http-client-0.3:=[profile?]
	>=dev-haskell/http-types-0.8:=[profile?]
	>=dev-haskell/lifted-base-0.1:=[profile?]
	>=dev-haskell/monad-control-0.3:=[profile?]
	>=dev-haskell/network-2.6:=[profile?]
	>=dev-haskell/network-uri-2.6:=[profile?]
	>=dev-haskell/scientific-0.2:=[profile?]
	>=dev-haskell/temporary-1.0:=[profile?]
	>=dev-haskell/text-0.11.3:=[profile?]
	>=dev-haskell/transformers-base-0.1:=[profile?]
	>=dev-haskell/unordered-containers-0.1.3:=[profile?]
	>=dev-haskell/vector-0.3:=[profile?]
	>=dev-haskell/zip-archive-0.1.1.8:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"

src_configure() {
	haskell-cabal_src_configure \
		--flag=-developer \
		--flag=network-uri
}