# 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 #hackport: flags: install-examples:examples CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Access cabal-install's Hackage database via Data.Map" HOMEPAGE="https://github.com/NixOS/cabal2nix/tree/master/hackage-db#readme" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="examples" CABAL_CHBINS=( 'list-known-versions' "${PN}-list-known-versions" 'show-meta-data' "${PN}-show-meta-data" 'show-package-versions' "${PN}-show-package-versions" ) RDEPEND="dev-haskell/aeson:=[profile?] >dev-haskell/cabal-3:=[profile?] >=dev-haskell/tar-0.4:=[profile?] dev-haskell/utf8-string:=[profile?] >=dev-lang/ghc-9.0.2:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.4.1.0 " src_configure() { haskell-cabal_src_configure \ $(cabal_flag examples install-examples) }