# 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.1.9999

CABAL_HACKAGE_REVISION=3

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

DESCRIPTION="Generically newtype to use with DerivingVia"
HOMEPAGE="https://hackage.haskell.org/package/generically"

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

RDEPEND=">=dev-lang/ghc-9.0.2:=
"

# Apparently needed for ghc-9.4.*
RDEPEND+="
	>=dev-haskell/base-orphans-0.8.8:=[profile?] <dev-haskell/base-orphans-0.10
"

DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"