cabal-rpm-2.3.0haskell
download
# Copyright 1999-2026 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="RPM packaging tool for Haskell Cabal-based packages"
HOMEPAGE="https://github.com/juhp/cabal-rpm"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="curl"
RDEPEND="dev-haskell/aeson:=
>dev-haskell/cabal-1.10:= <dev-haskell/cabal-3.15:=
dev-haskell/cached-json-file:=
dev-haskell/extra:=
dev-haskell/html-entities:=
dev-haskell/http-query:=
dev-haskell/safe:=
>=dev-haskell/simple-cabal-0.1.3:=
>=dev-haskell/simple-cmd-0.2.3:=
>=dev-haskell/simple-cmd-args-0.1.7:=
dev-haskell/text:=
>=dev-lang/ghc-9.0.2:=
curl? ( dev-haskell/curl:= )
!curl? ( >=dev-haskell/http-client-0.4.30:=
dev-haskell/http-client-tls:= )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag curl curl)
}