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

EAPI=8

# ebuild generated by hackport 0.6.1

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

DESCRIPTION="Support for well-typed paths"
HOMEPAGE="https://hackage.haskell.org/package/hpath"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

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

RESTRICT=test # testsuite spec: pass, doctest: fail (`not in scope`)

RDEPEND="dev-haskell/exceptions:=[profile?]
	dev-haskell/hspec:=[profile?]
	dev-haskell/ifelse:=[profile?]
	>=dev-haskell/simple-sendfile-0.2.24:=[profile?]
	dev-haskell/unix-bytestring:=[profile?]
	dev-haskell/utf8-string:=[profile?]
	dev-haskell/word8:=[profile?]
	>=dev-lang/ghc-7.6.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.16.0
	test? ( >=dev-haskell/doctest-0.8
		>=dev-haskell/hspec-1.3
		dev-haskell/hunit
		dev-haskell/quickcheck )
"