# 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=""
inherit haskell-cabal

DESCRIPTION="Create ctags compatible tags files for Haskell programs"
HOMEPAGE="https://github.com/bitc/lushtags"

GIT_REPO="https://github.com/bitc/lushtags"
GIT_COMMIT="c33361e5000f9126b9c48d4ec2847ff5394f6c54" #2017-12-23
GIT_P="${PN}-${GIT_COMMIT}"

SRC_URI="
	${GIT_REPO}/archive/${GIT_COMMIT}.tar.gz -> ${GIT_P}.tar.gz
"

S="${WORKDIR}/${GIT_P}"
CABAL_FILE="${S}/${PN}.cabal"

CABAL_CHDEPS=(
	'text >= 1.2 && < 2' 'text >= 1.2'
	'vector >= 0.9 && < 0.13' 'vector >= 0.9'
)

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=dev-haskell/haskell-src-exts-1.18:=
	>=dev-haskell/text-1.2:=
	>=dev-haskell/vector-0.9:=
	>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.4.1.0
"