logging-effect-1.3.9-r2.ebuild 1.71 KB
Newer Older
1
# Copyright 1999-2020 Gentoo Authors
2
3
# Distributed under the terms of the GNU General Public License v2

4
EAPI=7
5

6
# ebuild generated by hackport 0.6.3
7
8
9
10
11
12

CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal

DESCRIPTION="A mtl-style monad transformer for general purpose & compositional logging"
HOMEPAGE="https://github.com/ocharles/logging-effect"
13
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
14
15
16
17
18
19
20
21
22
23
24

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-haskell/async-2.0:=[profile?] <dev-haskell/async-2.3:=[profile?]
	>=dev-haskell/exceptions-0.8.0.2:=[profile?] <dev-haskell/exceptions-0.11:=[profile?]
	>=dev-haskell/free-4.12.1:=[profile?] <dev-haskell/free-5.2:=[profile?]
	>=dev-haskell/monad-control-1.0.0.4:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
	>=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
25
	>=dev-haskell/prettyprinter-1.2:=[profile?]
26
	>=dev-haskell/semigroups-0.16.2.2:=[profile?] <dev-haskell/semigroups-0.20:=[profile?]
27
	>=dev-haskell/stm-2.4.4.1:=[profile?] <dev-haskell/stm-2.6:=[profile?]
28
29
30
	>=dev-haskell/stm-delay-0.1.1.1:=[profile?] <dev-haskell/stm-delay-0.2:=[profile?]
	>=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-1.3:=[profile?]
	>=dev-haskell/transformers-base-0.4.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
31
	>=dev-haskell/unliftio-core-0.1.1.0:=[profile?]
32
33
34
35
36
	>=dev-lang/ghc-7.10.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.22.2.0
"
37
38
39
40
41
42
PATCHES=("${FILESDIR}"/${PN}-1.3.9-unliftio-core-0.2.patch)

src_prepare() {
	default

	cabal_chdeps \
43
		'prettyprinter >= 1.2 && < 1.7' 'prettyprinter >= 1.2' \
44
45
		'unliftio-core >= 0.1.1.0 && < 0.2' 'unliftio-core >= 0.1.1.0' \
		'base >=4.8 && <4.14' 'base >=4.8'
46
}