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

EAPI=8

# ebuild generated by hackport 0.8.4.0.9999

CABAL_HACKAGE_REVISION=1

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

DESCRIPTION="Chops a command or program invocation into digestable pieces"
HOMEPAGE="https://github.com/lspitzner/butcher/"

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

CABAL_CHDEPS=(
	'base >=4.11 && <4.17' 'base >=4.11'
	'free < 5.2' 'free'
)

RDEPEND="
	<dev-haskell/bifunctors-5.6:=[profile?]
	>=dev-haskell/deque-0.3:=[profile?] <dev-haskell/deque-0.5
	<dev-haskell/extra-1.8:=[profile?]
	dev-haskell/free:=[profile?]
	<dev-haskell/microlens-0.5:=[profile?]
	<dev-haskell/microlens-th-0.5:=[profile?]
	>=dev-haskell/multistate-0.7:=[profile?] <dev-haskell/multistate-0.9
	<dev-haskell/unsafe-0.1:=[profile?]
	<dev-haskell/void-0.8:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="
	${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? (
		dev-haskell/hspec
	)
"