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

EAPI=8

# ebuild generated by hackport 0.8.5.0.9999
#hackport: flags: -buildtests

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

DESCRIPTION="Elegant definition of Storable instances for records"
HOMEPAGE="https://code.haskell.org/~thielema/storable-record/"

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

RDEPEND=">=dev-haskell/quickcheck-2[profile?] <dev-haskell/quickcheck-3[profile?]
	>=dev-haskell/semigroups-0.1[profile?] <dev-haskell/semigroups-1.0[profile?]
	>=dev-haskell/utility-ht-0.0.14[profile?] <dev-haskell/utility-ht-0.1[profile?]
	>=dev-lang/ghc-9.0.2
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"

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