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

EAPI=8

# ebuild generated by hackport 0.8.4.0.9999

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

DESCRIPTION="Dhall to Nix compiler"
HOMEPAGE="https://hackage.haskell.org/package/dhall-nix"

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

CABAL_CHDEPS=(
	'optparse-generic >= 1.1.1   && < 1.5' 'optparse-generic >= 1.1.1'
)

RDEPEND="
	<dev-haskell/data-fix-0.4:=[profile?]
	>=dev-haskell/hnix-0.16:=[profile?] <dev-haskell/hnix-0.17:=[profile?]
	>=dev-haskell/lens-family-core-1.0.0:=[profile?] <dev-haskell/lens-family-core-2.2:=[profile?]
	<dev-haskell/neat-interpolation-0.6:=[profile?]
	>=dev-haskell/optparse-generic-1.1.1:=[profile?]
	>=dev-haskell/text-0.8.0.0:=[profile?] <dev-haskell/text-2.1:=[profile?]
	>=dev-lang/dhall-1.42:=[profile?] <dev-lang/dhall-1.43:=[profile?]
	>=dev-lang/ghc-8.10.6:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.2.1.0
"