# 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: buildExamples:examples

CABAL_HACKAGE_REVISION=1

WX_GTK_VER="3.2-gtk3"

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

DESCRIPTION="Examples for the reactive-banana library, using wxHaskell"
HOMEPAGE="http://wiki.haskell.org/Reactive-banana"

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

GHC_BOOTSTRAP_PACKAGES=(
	cabal-macosx
	)

RDEPEND=">=dev-haskell/cabal-macosx-0.1:=[profile?] <dev-haskell/cabal-macosx-0.3:=[profile?]
	>=dev-haskell/reactive-banana-1.1:=[profile?] <dev-haskell/reactive-banana-1.4:=[profile?]
	>=dev-lang/ghc-9.0.2:=
	>=dev-haskell/wx-0.93:=[profile?]
	>=dev-haskell/wxcore-0.93:=[profile?]
	>=dev-haskell/cabal-macosx-0.1 <dev-haskell/cabal-macosx-0.3
	examples? (
		>=dev-haskell/executable-path-0.0:=[profile?] <dev-haskell/executable-path-0.1:=[profile?]
		>=dev-haskell/random-1.0:=[profile?]
	)
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"