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

EAPI=8

# ebuild generated by hackport 0.5.2.9999

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

DESCRIPTION="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
HOMEPAGE="https://github.com/MarcWeber/hasktags"
EGIT_REPO_URI="https://github.com/MarcWeber/hasktags.git"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS=""
IUSE="debug"

RDEPEND=">=dev-haskell/json-0.5:=[profile?]
	dev-haskell/utf8-string:=[profile?]
	>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.10
	test? ( dev-haskell/hunit )
"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag debug debug)
}