summaryrefslogtreecommitdiff
blob: 3b0a49f834fcc568dde15e710646061d57494487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

# ebuild generated by hackport 0.6.6.9999
#hackport: flags: -disable-git-info,-hide-dependency-versions,-integration-tests,-static,-supported-build

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

DESCRIPTION="The Haskell Tool Stack"
HOMEPAGE="https://haskellstack.org"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

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

RESTRICT=test # requires network access

RDEPEND=">=dev-haskell/aeson-1.4.6.0:=[profile?]
	>=dev-haskell/annotated-wl-pprint-0.7.0:=[profile?]
	>=dev-haskell/ansi-terminal-0.9.1:=[profile?]
	>=dev-haskell/async-2.2.2:=[profile?]
	>=dev-haskell/attoparsec-0.13.2.3:=[profile?]
	>=dev-haskell/base64-bytestring-1.0.0.3:=[profile?]
	>=dev-haskell/cabal-3.0.0.0:=[profile?]
	>=dev-haskell/casa-client-0.0.1:=[profile?]
	>=dev-haskell/casa-types-0.0.1:=[profile?]
	>=dev-haskell/colour-2.3.5:=[profile?]
	>=dev-haskell/conduit-1.3.1.2:=[profile?]
	>=dev-haskell/conduit-extra-1.3.4:=[profile?]
	>=dev-haskell/cryptonite-0.25:=[profile?]
	>=dev-haskell/cryptonite-conduit-0.2.2:=[profile?]
	>=dev-haskell/echo-0.1.3:=[profile?]
	>=dev-haskell/exceptions-0.10.4:=[profile?]
	>=dev-haskell/extra-1.6.19:=[profile?]
	>=dev-haskell/file-embed-0.0.11.1:=[profile?]
	>=dev-haskell/filelock-0.1.1.5:=[profile?]
	>=dev-haskell/fsnotify-0.3.0.1:=[profile?]
	>=dev-haskell/generic-deriving-1.12.4:=[profile?]
	>=dev-haskell/githash-0.1.3.3:=[profile?]
	>=dev-haskell/hackage-security-0.5.3.0:=[profile?]
	>=dev-haskell/hashable-1.2.7.0:=[profile?]
	>=dev-haskell/hi-file-parser-0.1.0.0:=[profile?]
	>=dev-haskell/hpack-0.33.0:=[profile?]
	>=dev-haskell/http-client-0.6.4:=[profile?]
	>=dev-haskell/http-client-tls-0.3.5.3:=[profile?]
	>=dev-haskell/http-conduit-2.3.7.3:=[profile?]
	>=dev-haskell/http-download-0.2.0.0:=[profile?]
	>=dev-haskell/http-types-0.12.3:=[profile?]
	>=dev-haskell/memory-0.14.18:=[profile?]
	>=dev-haskell/microlens-0.4.10:=[profile?]
	>=dev-haskell/mintty-0.1.2:=[profile?]
	>=dev-haskell/mono-traversable-1.0.15.1:=[profile?]
	>=dev-haskell/mtl-2.2.2:=[profile?]
	>=dev-haskell/mustache-2.3.1:=[profile?]
	>=dev-haskell/neat-interpolation-0.3.2.6:=[profile?]
	>=dev-haskell/network-uri-2.6.2.0:=[profile?]
	>=dev-haskell/open-browser-0.2.1.0:=[profile?]
	>=dev-haskell/optparse-applicative-0.14.3.0:=[profile?]
	>=dev-haskell/optparse-simple-0.1.1.2:=[profile?]
	>=dev-haskell/pantry-0.4:=[profile?] <dev-haskell/pantry-0.5:=[profile?]
	>=dev-haskell/path-0.6.1:=[profile?]
	>=dev-haskell/path-io-1.4.2:=[profile?]
	>=dev-haskell/persistent-2.9.2:=[profile?]
	>=dev-haskell/persistent-sqlite-2.9.3:=[profile?]
	>=dev-haskell/persistent-template-2.6.0:=[profile?]
	>=dev-haskell/primitive-0.6.4.0:=[profile?]
	>=dev-haskell/project-template-0.2.0.1:=[profile?]
	>=dev-haskell/regex-applicative-text-0.1.0.1:=[profile?]
	>=dev-haskell/retry-0.8.1.0:=[profile?]
	>=dev-haskell/rio-0.1.14.0:=[profile?]
	>=dev-haskell/rio-prettyprint-0.1.0.0:=[profile?]
	>=dev-haskell/semigroups-0.18.5:=[profile?]
	>=dev-haskell/split-0.2.3.3:=[profile?]
	>=dev-haskell/stm-2.5.0.0:=[profile?]
	>=dev-haskell/streaming-commons-0.2.1.2:=[profile?]
	>=dev-haskell/tar-0.5.1.1:=[profile?]
	>=dev-haskell/temporary-1.3:=[profile?]
	>=dev-haskell/text-1.2.3.1:=[profile?]
	>=dev-haskell/text-metrics-0.3.0:=[profile?]
	>=dev-haskell/th-reify-many-0.1.9:=[profile?]
	>=dev-haskell/tls-1.4.1:=[profile?]
	>=dev-haskell/typed-process-0.2.6.0:=[profile?]
	>=dev-haskell/unicode-transforms-0.3.6:=[profile?]
	>=dev-haskell/unix-compat-0.5.2:=[profile?]
	>=dev-haskell/unliftio-0.2.12:=[profile?]
	>=dev-haskell/unordered-containers-0.2.10.0:=[profile?]
	>=dev-haskell/vector-0.12.1.2:=[profile?]
	>=dev-haskell/yaml-0.11.2.0:=[profile?]
	>=dev-haskell/zip-archive-0.4.1:=[profile?]
	>=dev-haskell/zlib-0.6.2.1:=[profile?]
	>=dev-lang/ghc-8.6.5:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.4.0.1
	test? ( >=dev-haskell/hspec-2.7.1
		>=dev-haskell/quickcheck-2.13.2
		>=dev-haskell/raw-strings-qq-1.1
		>=dev-haskell/smallcheck-1.1.5 )
"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag developer-mode developer-mode) \
		--flag=-disable-git-info \
		--flag=-hide-dependency-versions \
		--flag=-integration-tests \
		--flag=-static \
		--flag=-supported-build
}