blob: 72c7e224d40c9a150408c0a6ef1e981ad4c919db (
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
|
# 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: -mysql,-postgresql
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Type-safe EDSL for SQL queries on persistent backends"
HOMEPAGE="https://github.com/bitemyapp/esqueleto"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT=test # tries to access network
RDEPEND=">=dev-haskell/aeson-1.0:=[profile?]
>=dev-haskell/attoparsec-0.13:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
dev-haskell/blaze-html:=[profile?]
>=dev-haskell/conduit-1.3:=[profile?]
dev-haskell/monad-logger:=[profile?]
>=dev-haskell/persistent-2.10.0:=[profile?] <dev-haskell/persistent-2.11:=[profile?]
>=dev-haskell/resourcet-1.2:=[profile?]
>=dev-haskell/tagged-0.2:=[profile?]
>=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?]
dev-haskell/unliftio:=[profile?]
>=dev-haskell/unordered-containers-0.2:=[profile?]
>=dev-lang/ghc-7.10.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.22.2.0
test? ( dev-haskell/exceptions
dev-haskell/hspec
dev-haskell/mtl
dev-haskell/mysql
dev-haskell/mysql-simple
dev-haskell/persistent-mysql
>=dev-haskell/persistent-postgresql-2.10.0 <dev-haskell/persistent-postgresql-2.11
dev-haskell/persistent-sqlite
dev-haskell/persistent-template
dev-haskell/postgresql-libpq
dev-haskell/postgresql-simple
dev-haskell/vector )
"
src_configure() {
haskell-cabal_src_configure \
--flag=-mysql \
--flag=-postgresql
}
|