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

EAPI=8

# ebuild generated by hackport 0.7.3.0
#hackport: flags: -developer,-integer-simple,-native

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

DESCRIPTION="Fast rendering of common datatypes"
HOMEPAGE="https://github.com/bos/blaze-textual"

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

RDEPEND="
	>=dev-haskell/blaze-builder-0.2.1.4:=[profile?]
	>=dev-haskell/double-conversion-0.2.0.1:=[profile?]
	dev-haskell/old-locale:=[profile?]
	dev-haskell/vector:=[profile?]
	>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.2.0.1
	test? (
		>=dev-haskell/quickcheck-2.4.0.1
		>=dev-haskell/test-framework-0.3.3
		>=dev-haskell/test-framework-quickcheck2-0.2.9
	)
"

src_configure() {
	haskell-cabal_src_configure \
		--flag=-developer \
		--flag=-integer-simple \
		--flag=-native
}