# 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="PostgreSQL AST parsing and rendering"
HOMEPAGE="https://github.com/nikita-volkov/postgresql-syntax"

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

RDEPEND=">=dev-haskell/case-insensitive-1.2.1:=[profile?] <dev-haskell/case-insensitive-2:=[profile?]
	>=dev-haskell/hashable-1.3.5:=[profile?] <dev-haskell/hashable-2:=[profile?]
	>=dev-haskell/headed-megaparsec-0.2.0.1:=[profile?] <dev-haskell/headed-megaparsec-0.3:=[profile?]
	>=dev-haskell/megaparsec-9.2:=[profile?] <dev-haskell/megaparsec-10:=[profile?]
	>=dev-haskell/parser-combinators-1.3:=[profile?] <dev-haskell/parser-combinators-1.4:=[profile?]
	>=dev-haskell/text-1:=[profile?] <dev-haskell/text-3:=[profile?]
	>=dev-haskell/text-builder-0.6.6.3:=[profile?] <dev-haskell/text-builder-0.7:=[profile?]
	>=dev-haskell/unordered-containers-0.2.16:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( >=dev-haskell/hedgehog-1.0.1 <dev-haskell/hedgehog-2
		>=dev-haskell/rerebase-1.6.1 <dev-haskell/rerebase-2
		>=dev-haskell/tasty-1.2.3 <dev-haskell/tasty-2
		>=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 )
"