/
crypto-conduit.cabal
66 lines (58 loc) · 1.66 KB
/
crypto-conduit.cabal
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
Cabal-version: >= 1.8
Name: crypto-conduit
Version: 0.4.1
Synopsis: Conduit interface for cryptographic operations (from crypto-api).
Homepage: https://github.com/meteficha/crypto-conduit
License: BSD3
License-file: LICENSE
Author: Felipe Lessa <felipe.lessa@gmail.com>
Maintainer: Felipe Lessa <felipe.lessa@gmail.com>
Category: Cryptography, Conduit
Build-type: Simple
Description:
This package contains everything that you need to use a
cryptographic package that supports the @crypto-api@ package
using conduits from the @conduit@ package.
Extra-source-files:
README
tests/runtests.hs
Source-repository head
Type: git
Location: git://github.com/meteficha/crypto-conduit.git
Flag old-crypto-api
Description: Use crypto-api < 0.9.
Default: False
Library
Hs-Source-Dirs: src
Exposed-modules:
Crypto.Conduit
Build-depends:
base >= 3 && < 5,
bytestring >= 0.9,
cereal >= 0.3 && < 0.4,
conduit >= 0.5 && < 0.6,
transformers >= 0.2 && < 0.4
if flag(old-crypto-api)
Build-depends: crypto-api >= 0.8 && < 0.9
CPP-options: -DOLD_CRYPTO_API
else
Build-depends: crypto-api >= 0.9 && < 0.11
GHC-options: -Wall
Test-suite runtests
Type: exitcode-stdio-1.0
Build-depends:
base,
bytestring,
cereal,
crypto-api >= 0.9,
conduit,
transformers,
cryptocipher == 0.3.*,
cryptohash == 0.7.*,
skein == 0.1.*,
hspec >= 1.3,
-- finally, our own package
crypto-conduit
GHC-options: -Wall
Hs-source-dirs: tests
Main-is: runtests.hs