1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 # ebuild generated by hackport 0.4.4.9999
8 #hackport: flags: -old-crypto-api
10 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
13 DESCRIPTION="Conduit interface for cryptographic operations (from crypto-api)"
14 HOMEPAGE="https://github.com/prowdsponsor/crypto-conduit"
15 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 RDEPEND=">=dev-haskell/cereal-0.3:=[profile?]
23 >=dev-haskell/conduit-1.0:=[profile?] <dev-haskell/conduit-1.3:=[profile?]
24 >=dev-haskell/crypto-api-0.9:=[profile?] <dev-haskell/crypto-api-0.14:=[profile?]
25 dev-haskell/resourcet:=[profile?]
26 >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
27 >=dev-lang/ghc-7.4.1:=
28 conduit11? ( >=dev-haskell/conduit-extra-1.1:=[profile?] )
31 >=dev-haskell/cabal-1.8
32 test? ( >=dev-haskell/crypto-api-0.13
33 >=dev-haskell/cryptocipher-0.4
34 >=dev-haskell/cryptohash-cryptoapi-0.1
35 >=dev-haskell/hspec-1.3
36 >=dev-haskell/skein-0.1 )
41 'cereal >= 0.3 && < 0.5' 'cereal >= 0.3'
45 haskell-cabal_src_configure \
46 $(cabal_flag conduit11 conduit11) \
47 --flag=-old-crypto-api