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

EAPI=8

# ebuild generated by hackport 0.7.3.0
#hackport: flags: -devel

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

DESCRIPTION="Predicate Abstraction-based Horn-Clause/Implication Constraint Solver"
HOMEPAGE="https://github.com/ucsd-progsys/liquid-fixpoint#readme"
EGIT_REPO_URI="https://github.com/ucsd-progsys/liquid-fixpoint.git"
EGIT_BRANCH="develop"

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

RDEPEND="
	dev-haskell/aeson:=[profile?]
	dev-haskell/ansi-terminal:=[profile?]
	>=dev-haskell/ascii-progress-0.3:=[profile?]
	dev-haskell/async:=[profile?]
	dev-haskell/attoparsec:=[profile?]
	dev-haskell/boxes:=[profile?]
	dev-haskell/cereal:=[profile?]
	dev-haskell/cmdargs:=[profile?]
	dev-haskell/fgl:=[profile?]
	dev-haskell/hashable:=[profile?]
	dev-haskell/intern:=[profile?]
	dev-haskell/lens-family:=[profile?]
	>=dev-haskell/megaparsec-7.0.0:=[profile?] <dev-haskell/megaparsec-10:=[profile?]
	dev-haskell/parallel:=[profile?]
	dev-haskell/parser-combinators:=[profile?]
	>=dev-haskell/rest-rewrite-0.3.0:=[profile?]
	dev-haskell/stm:=[profile?]
	dev-haskell/store:=[profile?]
	dev-haskell/syb:=[profile?]
	dev-haskell/unordered-containers:=[profile?]
	<dev-haskell/vector-0.13:=[profile?]
	>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.4
	test? (
		dev-haskell/optparse-applicative
		>=dev-haskell/stm-2.4
		dev-haskell/tagged
		>=dev-haskell/tasty-0.10
		dev-haskell/tasty-ant-xml
		>=dev-haskell/tasty-hunit-0.9
		dev-haskell/tasty-quickcheck
		>=dev-haskell/tasty-rerun-1.1.12
	)
"

src_configure() {
	haskell-cabal_src_configure \
		--flag=-devel
}