# 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_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Console IRC client"
HOMEPAGE="https://github.com/glguy/irc-core"

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

CABAL_CHDEPS=(
	'vty                  >=5.35   && <5.36' 'vty >=5.35'
	'lens                 >=4.14   && <5.2' 'lens >=4.14'
	'config-schema        ^>=1.2.1.0' 'config-schema >=1.2.1.0'
	'free                 >=4.12   && <5.2' 'free >=4.12'
)

RDEPEND="
	=dev-haskell/async-2.2*:=[profile?]
	=dev-haskell/attoparsec-0.14*:=[profile?]
	>=dev-haskell/base64-bytestring-1.0.0.1:=[profile?] <dev-haskell/base64-bytestring-1.3
	>=dev-haskell/config-schema-1.2.1.0:=[profile?]
	=dev-haskell/config-value-0.8*:=[profile?]
	>=dev-haskell/curve25519-0.2.5:=[profile?] <dev-haskell/curve25519-0.3
	>=dev-haskell/free-4.12:=[profile?]
	>=dev-haskell/githash-0.1.6:=[profile?] <dev-haskell/githash-0.2
	>=dev-haskell/hashable-1.2.4:=[profile?] <dev-haskell/hashable-1.5
	=dev-haskell/hookup-0.7*:=[profile?]
	=dev-haskell/hsopenssl-0.11*:=[profile?]
	=dev-haskell/irc-core-2.11*:=[profile?]
	>=dev-haskell/kan-extensions-5.0:=[profile?] <dev-haskell/kan-extensions-5.3
	>=dev-haskell/lens-4.14:=[profile?]
	>=dev-haskell/network-2.6.2:=[profile?] <dev-haskell/network-3.2
	>=dev-haskell/psqueues-0.2.7:=[profile?] <dev-haskell/psqueues-0.3
	>=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.3
	>=dev-haskell/regex-tdfa-1.3.1:=[profile?] <dev-haskell/regex-tdfa-1.4
	=dev-haskell/split-0.2*:=[profile?]
	>=dev-haskell/text-1.2.2:=[profile?] <dev-haskell/text-2.1
	>=dev-haskell/unordered-containers-0.2.11:=[profile?] <dev-haskell/unordered-containers-0.3
	>=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.13
	>=dev-haskell/vty-5.35:=[profile?]
	>=dev-lang/ghc-8.8.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.0.0.0
	test? (
		=dev-haskell/hunit-1.6*
	)
"