-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.yaml
200 lines (191 loc) · 4.14 KB
/
package.yaml
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# SPDX-FileCopyrightText: 2022 Serokell <https://serokell.io>
#
# SPDX-License-Identifier: MPL-2.0
name: coffer
version: 0.1.0.0
#synopsis:
description: A multi-backend, multi-frontend password manager, reaching out to Vault, pass among others.
homepage: https://github.com/serokell/coffer/
license: BSD3
author: Serokell
maintainer: Serokell <hi@serokell.io>
copyright: 2022 Serokell
category: Command Line Tools
extra-source-files:
- README.md
- config.toml
dependencies:
- base >= 4.14.3.0 && < 5
default-extensions:
- AllowAmbiguousTypes
- ApplicativeDo
- BangPatterns
- BlockArguments
- ConstraintKinds
- DataKinds
- DefaultSignatures
- DeriveAnyClass
- DeriveDataTypeable
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- ImportQualifiedPost
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- NegativeLiterals
- NumDecimals
- NumericUnderscores
- OverloadedLabels
- OverloadedStrings
- PatternSynonyms
- PolyKinds
- QuantifiedConstraints
- QuasiQuotes
- RankNTypes
- RecordWildCards
- RecursiveDo
- ScopedTypeVariables
- StandaloneDeriving
- StrictData
- TemplateHaskell
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances
- UndecidableSuperClasses
- ViewPatterns
ghc-options:
- -Weverything
- -Wno-implicit-prelude
- -Wno-name-shadowing
- -Wno-missing-import-lists
- -Wno-missing-export-lists
- -Wno-unsafe
- -Wno-safe
- -Wno-missing-safe-haskell-mode
- -Wno-prepositive-qualified-module
- -Wno-monomorphism-restriction
- -Wno-missed-specialisations
- -Wno-all-missed-specialisations
library:
source-dirs: lib
dependencies:
- aeson
- aeson-casing
- ansi-terminal
- bytestring
- containers
- exceptions
- extra
- fmt
- hashable
- http-client
- http-client-tls
- http-types
- lens
- lens-aeson
- megaparsec
- mtl
- nyan-interpolation
- openapi3
- optparse-applicative
- polysemy
- servant
- servant-client
- servant-client-core
- servant-server
- text
- time
- time-compat
- tomland
- unordered-containers
- validation-selective
- wai-cors
- warp
- optparse-applicative
executables:
coffer:
source-dirs: app/cli
main: Main.hs
dependencies:
- coffer
- fmt
- lens
- nyan-interpolation
- optparse-applicative
- polysemy
- text
- tomland
coffer-server:
source-dirs: app/server
main: Main.hs
dependencies:
- coffer
coffer-swagger-api:
source-dirs: app/swagger-api
main: Main.hs
dependencies:
- aeson-pretty
- bytestring
- coffer
- lens
- openapi3
- servant-openapi3
tests:
test:
source-dirs: tests/test
main: Main.hs
build-tools: tasty-discover:tasty-discover
ghc-options:
- -threaded
dependencies:
- tasty
doctests:
source-dirs: tests/doctests
main: Doctests.hs
ghc-options:
- -threaded
# `doctest` does not depend on `coffer` at compile-time, but it does
# depend on it at runtime.
# GHC will flag the `coffer` package as an unused dependency,
# so we have to turn off that warning.
- -Wno-unused-packages
dependencies:
- doctest-parallel
- coffer
server-integration:
source-dirs: tests/server-integration
main: Main.hs
build-tools: tasty-discover:tasty-discover
ghc-options:
- -threaded
dependencies:
- aeson
- async
- coffer
- extra
- http-client
- http-types
- lens
- lens-aeson
- process
- req
- syb
- tasty
- tasty-hunit
- text
- time
- bytestring
- silently