mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
56 lines
1.5 KiB
Bash
56 lines
1.5 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.9999
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Cross platform library for file change notification"
|
|
HOMEPAGE="https://github.com/haskell-fswatch/hfsnotify"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE="examples"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.4.3.0-add-examples-flag.patch"
|
|
)
|
|
|
|
CABAL_CHBINS=(
|
|
'example' "haskell-${PN}-example"
|
|
)
|
|
|
|
RDEPEND=">=dev-haskell/async-2.0.0.0:=[profile?]
|
|
>=dev-haskell/hinotify-0.3.9:=[profile?]
|
|
>=dev-haskell/monad-control-1.0.0.0:=[profile?]
|
|
>=dev-haskell/safe-exceptions-0.1.0.0:=[profile?]
|
|
>=dev-haskell/text-0.11.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
|
|
>=dev-haskell/unix-compat-0.2:=[profile?]
|
|
>=dev-lang/ghc-9.0.2:=
|
|
examples? ( dev-haskell/monad-logger:=[profile?]
|
|
dev-haskell/random:=[profile?]
|
|
dev-haskell/retry:=[profile?]
|
|
dev-haskell/string-interpolate:=[profile?]
|
|
dev-haskell/temporary:=[profile?]
|
|
dev-haskell/unliftio:=[profile?] )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-3.4.1.0
|
|
test? ( dev-haskell/sandwich
|
|
>=dev-haskell/unliftio-0.2.20
|
|
!examples? ( dev-haskell/monad-logger
|
|
dev-haskell/random
|
|
dev-haskell/retry
|
|
dev-haskell/string-interpolate
|
|
dev-haskell/temporary ) )
|
|
"
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
$(cabal_flag examples examples)
|
|
}
|