# 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="Nonresumable byte parser"
HOMEPAGE="https://github.com/byteverse/bytesmith"

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

RDEPEND=">=dev-haskell/byteslice-0.2.6:=[profile?] <dev-haskell/byteslice-0.3:=[profile?]
	>=dev-haskell/contiguous-0.6:=[profile?] <dev-haskell/contiguous-0.7:=[profile?]
	>=dev-haskell/natural-arithmetic-0.1.3:=[profile?]
	>=dev-haskell/primitive-0.7:=[profile?] <dev-haskell/primitive-0.10:=[profile?]
	>=dev-haskell/text-short-0.1.3:=[profile?] <dev-haskell/text-short-0.2:=[profile?]
	>=dev-haskell/wide-word-0.1.0.9:=[profile?] <dev-haskell/wide-word-0.2:=[profile?]
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
	test? ( dev-haskell/byte-order
		dev-haskell/tasty
		dev-haskell/tasty-hunit
		dev-haskell/tasty-quickcheck )
"