# 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=1

CABAL_FEATURES=""
inherit haskell-cabal

DESCRIPTION="A graphical tool for profiling parallel Haskell programs"
HOMEPAGE="https://www.haskell.org/haskellwiki/ThreadScope"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

CABAL_CHDEPS=(
	'ghc-events >= 0.13 && < 0.19' 'ghc-events >= 0.13'
	'template-haskell < 2.19' 'template-haskell'
)

RDEPEND="
	<dev-haskell/cairo-0.14:=
	<dev-haskell/file-embed-0.1:=
	>=dev-haskell/ghc-events-0.13:=
	<dev-haskell/glib-0.14:=
	>=dev-haskell/gtk-0.12:= <dev-haskell/gtk-0.16:=
	<dev-haskell/pango-0.14:=
	>=dev-haskell/temporary-1.1:= <dev-haskell/temporary-1.4:=
	<dev-haskell/text-2.1:=
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"