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

EAPI=8

# ebuild generated by hackport 0.6.7.9999

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

DESCRIPTION="A package with basic parsing utilities for several Bioinformatic data formats"
HOMEPAGE="https://github.com/stschiff/sequence-formats"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

RESTRICT=test # writes predictable files to /tmp, fails when they already exist

RDEPEND="dev-haskell/attoparsec:=[profile?]
	dev-haskell/errors:=[profile?]
	dev-haskell/exceptions:=[profile?]
	dev-haskell/foldl:=[profile?]
	dev-haskell/lens-family:=[profile?]
	dev-haskell/pipes:=[profile?]
	dev-haskell/pipes-attoparsec:=[profile?]
	dev-haskell/pipes-bytestring:=[profile?]
	dev-haskell/pipes-safe:=[profile?]
	dev-haskell/vector:=[profile?]
	>=dev-lang/ghc-7.8.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.18.1.3
	test? ( dev-haskell/hspec
		dev-haskell/tasty
		dev-haskell/tasty-hunit )
"