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

# ebuild generated by hackport 0.2.13

EAPI=8

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

DESCRIPTION="A Haskell Interface to ODBC"
HOMEPAGE="https://hackage.haskell.org/package/hsql-odbc"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-haskell/hsql-1.8.2:=[profile?]
		>=dev-lang/ghc-6.10.1:=
		>=dev-db/unixODBC-2.2"
DEPEND="${RDEPEND}
		dev-haskell/cabal"

PATCHES=(
	"${FILESDIR}"/${P}-cabal22.patch
)