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

EAPI=8

# ebuild generated by hackport 0.8.2.1.9999

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

DESCRIPTION="Convert bidirectionally between Dhall and CSV files"
HOMEPAGE="https://dhall-lang.org/
	https://hackage.haskell.org/package/dhall-csv"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RDEPEND="
	dev-haskell/ansi-terminal:=[profile?]
	>=dev-haskell/cassava-0.5.0.0:=[profile?] <dev-haskell/cassava-0.6:=[profile?]
	dev-haskell/either:=[profile?]
	dev-haskell/optparse-applicative:=[profile?]
	>=dev-haskell/prettyprinter-1.7.0:=[profile?] <dev-haskell/prettyprinter-1.8:=[profile?]
	>=dev-haskell/prettyprinter-ansi-terminal-1.1.1:=[profile?] <dev-haskell/prettyprinter-ansi-terminal-1.2:=[profile?]
	>=dev-haskell/text-0.11.1.0:=[profile?] <dev-haskell/text-2.1:=[profile?]
	<dev-haskell/unordered-containers-0.3:=[profile?]
	>=dev-haskell/vector-0.12:=[profile?] <dev-haskell/vector-0.14:=[profile?]
	>=dev-lang/dhall-1.39.0:=[profile?] <dev-lang/dhall-1.43:=[profile?]
	>=dev-lang/ghc-8.10.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.2.0.0
	test? (
		<dev-haskell/tasty-1.5
		>=dev-haskell/tasty-hunit-0.2
		<dev-haskell/tasty-silver-3.4
	)
"