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

EAPI=8

# ebuild generated by hackport 0.9.1.0.9999

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

DESCRIPTION="Parse and render *.drv files"
HOMEPAGE="https://hackage.haskell.org/package/hnix-store-aterm"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
PATCHES=(
	"${FILESDIR}/${P}-fix-binary-name.patch"
)

RDEPEND=">=dev-haskell/attoparsec-0.12.0.0:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?]
	dev-haskell/constraints-extras:=[profile?]
	dev-haskell/dependent-sum:=[profile?]
	dev-haskell/hnix-store-core:=[profile?]
	dev-haskell/monoidal-containers:=[profile?]
	>=dev-haskell/pretty-show-1.6.11:=[profile?] <dev-haskell/pretty-show-1.11:=[profile?]
	dev-haskell/some:=[profile?]
	>=dev-haskell/text-0.8.0.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
	dev-haskell/these:=[profile?]
	<dev-haskell/vector-0.14:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( dev-haskell/data-default-class
		<dev-haskell/generic-arbitrary-1.1
		dev-haskell/hnix-store-tests
		<dev-haskell/quickcheck-2.20
		dev-haskell/tasty
		dev-haskell/tasty-golden
		dev-haskell/tasty-quickcheck )
"