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

EAPI=8

# ebuild generated by hackport 0.6
#hackport: flags: -onlygsl

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

DESCRIPTION="Numerical computation"
HOMEPAGE="https://github.com/albertoruiz/hmatrix"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-haskell/hmatrix-0.18:=[profile?]
	dev-haskell/random:=[profile?]
	dev-haskell/vector:=[profile?]
	>=dev-lang/ghc-7.4.1:=
	sci-libs/gsl
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.18
	virtual/pkgconfig
"

src_configure() {
	haskell-cabal_src_configure \
		--flag=-onlygsl
}