-
Notifications
You must be signed in to change notification settings - Fork 2
/
bayhac2014-cryptmail.cabal
133 lines (110 loc) · 3.48 KB
/
bayhac2014-cryptmail.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
-- ------------------------------------------------------ --
-- Copyright © 2014 AlephCloud Systems, Inc.
-- ------------------------------------------------------ --
Name: bayhac2014-cryptmail
Version: 0.0.2
Description:
An application for sending encrypted email from a browser.
This is an example application for a talk at BayHac 2014
on web frontend development with Haste.
Homepage: http://github.com/alephcloud/bayhac2014-cryptmail
License: MIT
License-file: LICENSE
Author: Lars Kuhtz <[email protected]>
Maintainer: Lars Kuhtz <[email protected]>
Copyright: Copyright (c) 2014 AlephCloud Systems, Inc.
Category: Haste, Cryptography, Web
Build-type: Simple
Cabal-version: >= 1.18
data-files:
README.md
contrib/hello-bayhac.hs
contrib/hello-bayhac-ffi.hs
contrib/hello-bayhac.html
contrib/hello-bayhac-ffi.html
contrib/Setup.hs
source-repository head
type: git
location: http://github.com/alephcloud/bayhac2014-cryptmail
Flag haste
description: build with haste-compiler
default: False
Library
default-language: Haskell2010
hs-source-dirs: src
other-modules:
BayHac2014.Cryptmail.Json.Encode
BayHac2014.Cryptmail.Json.Decode
BayHac2014.Cryptmail.Json.Instances
exposed-modules:
BayHac2014.Cryptmail.Text
BayHac2014.Cryptmail.ByteString
BayHac2014.Cryptmail.PasswordEncryption
BayHac2014.Cryptmail.ServiceApi
BayHac2014.Cryptmail.Json
build-depends:
base == 4.*,
base-unicode-symbols >= 0.2.2.4,
transformers >= 0.3.0.0,
containers >= 0.5.0.0
if flag(haste)
build-depends:
haste-lib >= 0.1
else
build-depends:
QuickCheck >= 2.7.3,
base64-bytestring >= 1.0.0.1,
bytestring >= 0.10.0.2,
cipher-aes >= 0.2.7,
crypto-random >= 0.0.7,
cryptohash >= 0.11.4,
text >= 1.1.0.1,
quickcheck-instances >= 0.3.8,
pbkdf >= 1.1.1.1,
scotty >= 0.7.2,
cabal-test-quickcheck >= 0.1.1,
attoparsec >= 0.10.4.0,
aeson >= 0.7.0.3,
unordered-containers >= 0.2.3.3,
vector >= 0.10.9.1
ghc-options: -Wall
Executable cryptmail-client
default-language: Haskell2010
Main-Is: src/Client.hs
hs-source-dirs: .
if !flag(haste)
buildable: False
if flag(haste)
build-depends:
base == 4.*,
bayhac2014-cryptmail,
base-unicode-symbols >= 0.2.2.4,
haste-lib >= 0.1
ghc-options: -Wall --start=asap --with-js=lib/sjcl.js,lib/bayhac2014-cryptmail.js
Executable cryptmail-server
default-language: Haskell2010
Main-Is: src/Server.hs
hs-source-dirs: .
if flag(haste)
buildable: False
if ! flag(haste)
build-depends:
base == 4.*,
scotty >= 0.7.2,
bayhac2014-cryptmail,
base-unicode-symbols >= 0.2.2.4,
transformers >= 0.3.0.0,
text >= 1.1.0.1
ghc-options: -Wall
Test-Suite cryptmail-tests
default-language: Haskell2010
type: detailed-0.9
test-module: Test
hs-source-dirs: test
if flag(haste)
buildable: False
build-depends:
base == 4.*,
bayhac2014-cryptmail,
cabal-test-quickcheck >= 0.1.1,
Cabal >= 1.20.0.0