# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.5.5.9999

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

DESCRIPTION="Extra concurrency primitives"
HOMEPAGE="https://github.com/basvandijk/concurrent-extra"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

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

RESTRICT=test #stresstest fails, all others pass

RDEPEND=">=dev-haskell/stm-2.1.2.1:=[profile?]
	>=dev-haskell/unbounded-delays-0.1:=[profile?]
	>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.8
	test? ( >=dev-haskell/async-2.0
		>=dev-haskell/hunit-1.2.2
		>=dev-haskell/random-1.0
		>=dev-haskell/test-framework-0.2.4
		>=dev-haskell/test-framework-hunit-0.2.4 )
"