# 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

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

DESCRIPTION="A fundamental solution to ghost threads and silent exceptions"
HOMEPAGE="https://github.com/nikita-volkov/slave-thread"

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

RDEPEND=">=dev-haskell/deferred-folds-0.9:=[profile?] <dev-haskell/deferred-folds-0.10:=[profile?]
	>=dev-haskell/focus-1:=[profile?] <dev-haskell/focus-1.1:=[profile?]
	>=dev-haskell/foldl-1:=[profile?] <dev-haskell/foldl-2:=[profile?]
	>=dev-haskell/stm-containers-1.2:=[profile?] <dev-haskell/stm-containers-1.3:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( <dev-haskell/rerebase-2
		>=dev-haskell/safesemaphore-0.10 <dev-haskell/safesemaphore-0.11
		>=dev-haskell/tasty-0.12 <dev-haskell/tasty-2
		>=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 )
"