# 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

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

DESCRIPTION="Generic vectors with statically known size"
HOMEPAGE="https://hackage.haskell.org/package/fixed-vector"

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

GHC_BOOTSTRAP_PACKAGES=(
	cabal-doctest
)

PATCHES=(
	"${FILESDIR}/${PN}-1.2.1.0-cabal-doctest.patch"
)

RDEPEND="
	>=dev-haskell/primitive-0.6.2:=[profile?]
	>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.2.0.1
	test? (
		>=dev-haskell/doctest-0.18
		>=dev-haskell/filemanip-0.3.6 <dev-haskell/filemanip-0.3.7
	)
"