mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
# ebuild generated by hackport 0.9.1.0
|
|
#hackport: flags: +distributive,+containers,test-doctests:test
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Provides comonads, the categorical dual of monads"
|
|
HOMEPAGE="https://github.com/ekmett/comonad/"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE="+indexed-traversable"
|
|
|
|
RDEPEND=">=dev-haskell/distributive-0.5.2:=[profile?] <dev-haskell/distributive-1:=[profile?]
|
|
>=dev-haskell/tagged-0.8.6.1:=[profile?] <dev-haskell/tagged-1:=[profile?]
|
|
>=dev-lang/ghc-9.0.2:=
|
|
indexed-traversable? ( >=dev-haskell/indexed-traversable-0.1.1:=[profile?]
|
|
<dev-haskell/indexed-traversable-0.2:=[profile?] )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-3.4.1.0
|
|
"
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
--flag=containers \
|
|
--flag=distributive \
|
|
$(cabal_flag indexed-traversable indexed-traversable)
|
|
}
|