# 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_PN="IPv6Addr"

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

DESCRIPTION="Library to deal with IPv6 address text representations"
HOMEPAGE="https://github.com/MichelBoucey/IPv6Addr"

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

RDEPEND=">=dev-haskell/attoparsec-0.12:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?]
	>=dev-haskell/iproute-1.3:=[profile?] <dev-haskell/iproute-1.8:=[profile?]
	>=dev-haskell/network-2.5:=[profile?] <dev-haskell/network-4:=[profile?]
	>=dev-haskell/network-info-0.2:=[profile?] <=dev-haskell/network-info-0.3:=[profile?]
	>=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.4:=[profile?]
	>=dev-haskell/text-1.1:=[profile?] <dev-haskell/text-2.2:=[profile?]
	>=dev-lang/ghc-9.0.2:=
	>=dev-haskell/aeson-0.8.0.2:=[profile?] <dev-haskell/aeson-2.4:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( dev-haskell/hunit
		dev-haskell/test-framework
		dev-haskell/test-framework-hunit )
"