-
Notifications
You must be signed in to change notification settings - Fork 3
/
gibberish.cabal
178 lines (164 loc) · 3.86 KB
/
gibberish.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
cabal-version: 3.4
name: gibberish
version: 3.0.0.0
synopsis: Generate easy-to-remember, hard-to-guess passwords
homepage: https://www.github.com/sgillespie/gibberish
license: MIT
license-file: LICENSE
author: Sean D Gillespie
maintainer: [email protected]
category: Cryptography
build-type: Simple
description:
Generates pronounceable passwords that are easy-to-remember and hard-to-guess.
extra-source-files:
README.md,
test/*.hs,
data-files:
data/dicts/*.txt
data/trigraphs/*.json
common common-options
build-depends:
base >=4.16 && <4.20,
containers ^>=0.6,
mtl ^>=2.3,
text >=1.2 && <2.2,
text-show ^>=3.10,
transformers ^>=0.6.1
ghc-options:
-Wall
-Wcompat
-- Not yet
-- -Werror
-Widentities
-Wderiving-defaults
-Wmissing-deriving-strategies
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wnoncanonical-monad-instances
-fhide-source-paths
-Wmissing-export-lists
-Wpartial-fields
default-extensions:
DeriveAnyClass,
DerivingStrategies,
LambdaCase,
OverloadedStrings,
RecordWildCards
other-extensions:
OverloadedLists,
TemplateHaskell
default-language: GHC2021
common common-exe
import: common-options
build-depends:
gibberish,
aeson ^>=2.2,
aeson-pretty ^>=0.8.10,
bytestring >=0.11 && <0.13,
optparse-applicative ^>=0.18.1,
random ^>=1.2
hs-source-dirs: app
common common-test
import: common-options
build-depends:
gibberish:{gibberish, testlib},
MonadRandom ^>=0.6,
aeson ^>=2.2,
aeson-pretty ^>=0.8.10,
bytestring >=0.11 && <0.13,
filepath ^>=1.4,
hedgehog ^>=1.4,
hspec ^>=2.11,
hspec-hedgehog ^>=0.1.1,
random ^>=1.2,
tasty ^>=1.5,
tasty-golden ^>=2.3.5,
tasty-hedgehog ^>=1.4.0,
tasty-th ^>=0.1.7
hs-source-dirs: test
library
import: common-options
exposed-modules:
Data.Gibberish,
Data.Gibberish.Errors,
Data.Gibberish.Formatting,
Data.Gibberish.Gen,
Data.Gibberish.Gen.Pass,
Data.Gibberish.Gen.Trigraph,
Data.Gibberish.Monad.Pass,
Data.Gibberish.Types,
Data.Gibberish.Utils
other-modules:
Paths_gibberish
build-depends:
MonadRandom ^>=0.6,
aeson ^>=2.2,
deepseq >=1.4 && <1.6,
directory ^>=1.3,
filepath ^>=1.4,
random ^>=1.2
hs-source-dirs: src
executable gibber
import: common-exe
main-is: Main.hs
other-modules:
Paths_gibberish
autogen-modules:
Paths_gibberish
hs-source-dirs: app
executable gibber-gen-trigraph
import: common-exe
main-is: gen-trigraph.hs
hs-source-dirs: app
library testlib
import: common-options
exposed-modules:
Test.Gibberish.Gen
build-depends:
gibberish,
MonadRandom ^>=0.6,
hedgehog ^>=1.4
hs-source-dirs:
testlib
test-suite spec
import: common-test
main-is: Spec.hs
type: exitcode-stdio-1.0
build-tool-depends:
hspec-discover:hspec-discover
other-modules:
Data.Gibberish.FormattingSpec
Data.Gibberish.Gen.PassSpec
Data.Gibberish.Gen.TrigraphSpec
Data.Gibberish.TypesSpec
Data.Gibberish.UtilsSpec
Paths_gibberish
autogen-modules:
Paths_gibberish
other-extensions:
OverloadedLists
test-suite golden
import: common-test
main-is: Golden.hs
other-modules:
Paths_gibberish,
autogen-modules:
Paths_gibberish
type:
exitcode-stdio-1.0
benchmark main
import: common-options
build-depends:
gibberish,
aeson ^>=2.2,
criterion ^>=1.6,
deepseq >=1.4 && <1.6,
filepath ^>=1.4
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
other-modules:
Paths_gibberish
autogen-modules:
Paths_gibberish