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

EAPI=8

# ebuild generated by hackport 0.9.0.0.9999

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

DESCRIPTION="A compact, well-typed seralisation format for Haskell values"
HOMEPAGE="https://github.com/fumieval/winery#readme"

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

RESTRICT="test" #Weird compilation issue https://github.com/fumieval/winery/issues/11

RDEPEND="dev-haskell/aeson:=[profile?]
	>=dev-haskell/barbies-2.0:=[profile?] <dev-haskell/barbies-2.1:=[profile?]
	>=dev-haskell/barbies-th-0.1:=[profile?] <dev-haskell/barbies-th-0.2:=[profile?]
	dev-haskell/cpu:=[profile?]
	dev-haskell/fast-builder:=[profile?]
	dev-haskell/hashable:=[profile?]
	dev-haskell/hunit:=[profile?]
	>=dev-haskell/megaparsec-7.0.0:=[profile?]
	>=dev-haskell/prettyprinter-1.7:=[profile?] <dev-haskell/prettyprinter-1.8:=[profile?]
	dev-haskell/prettyprinter-ansi-terminal:=[profile?]
	dev-haskell/quickcheck:=[profile?]
	dev-haskell/scientific:=[profile?]
	dev-haskell/semigroups:=[profile?]
	dev-haskell/text:=[profile?]
	dev-haskell/unordered-containers:=[profile?]
	dev-haskell/vector:=[profile?]
	>=dev-lang/ghc-9.6.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.10.1.0
"