-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
192 lines (185 loc) · 3.95 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
name: fingerdb
version: "0.0.0"
data-files: data/*.musicxml
dependencies:
- ad
- aeson >=1.4 && <1.5
- base >=4.9.1.0 && <5
- blaze-html
- bytestring >=0.10 && <0.11
- case-insensitive
- classy-prelude >=1.5 && <1.6
- classy-prelude-conduit >=1.5 && <1.6
- classy-prelude-yesod >=1.5 && <1.6
- comonad
- conduit >=1.0 && <2.0
- containers
- data-default
- directory >=1.1 && <1.4
- esqueleto
- fast-logger >=2.2 && <3.1
- file-embed
- flow
- foreign-store
- generic-lens
- hjsmin >=0.1 && <0.3
- hoauth2 >= 1.8.9
- html-conduit
- http-client-tls >=0.3 && <0.4
- http-conduit >=2.3 && <2.4
- http-types
- language-javascript
- lens
- lens-aeson
- lens-regex-pcre
- monad-control >=0.3 && <1.1
- monad-logger >=0.3 && <0.4
- monad-memo >=0.5.0 && < 0.6
- mtl
- persistent >=2.9 && <2.11
- persistent-postgresql >=2.9 && <2.11
- persistent-template >=2.5 && <2.9
- raw-strings-qq
- safe
- sendgrid-v3
- shakespeare >=2.0 && <2.1
- string-conversions
- template-haskell
- text >=0.11 && <2.0
- time
- unordered-containers
- uri-bytestring
- validation-selective
- vector
- wai
- wai-extra >=3.0 && <3.1
- wai-logger >=2.2 && <2.4
- warp >=3.0 && <3.4
- xml-conduit
- xml-lens
- yaml >=0.11 && <0.12
- yesod >=1.6 && <1.7
- yesod-auth >=1.6 && <1.7
- yesod-auth-oauth2 ==0.6.1.2
- yesod-core >=1.6 && <1.7
- yesod-form >=1.6 && <1.7
- yesod-static >=1.6 && <1.7
default-extensions:
- BangPatterns
- BinaryLiterals
- BlockArguments
- ConstraintKinds
- DataKinds
- DefaultSignatures
- DeriveAnyClass
- DeriveDataTypeable
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- DoAndIfThenElse
- DuplicateRecordFields
- EmptyCase
- EmptyDataDecls
- ExistentialQuantification
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- NoImplicitPrelude
- OverloadedLabels
- OverloadedStrings
- PartialTypeSignatures
- PatternGuards
- PatternSynonyms
- PolyKinds
- QuasiQuotes
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- TypeSynonymInstances
- ViewPatterns
# The library contains all of our application code. The executable
# defined below is just a thin wrapper.
library:
source-dirs: src
when:
- condition: (flag(dev)) || (flag(library-only))
then:
ghc-options:
- -Wall
- -fwarn-tabs
- -O0
cpp-options: -DDEVELOPMENT
else:
ghc-options:
- -Wall
- -fwarn-tabs
- -O2
# Runnable executable for our application
executables:
fingerdb:
main: main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- fingerdb
when:
- condition: flag(library-only)
buildable: false
survey-plot:
source-dirs: survey
main: main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- fingerdb
- process
- cassava
when:
- condition: flag(server-only)
buildable: false
# Test suite
tests:
fingerdb-test:
main: Spec.hs
source-dirs: test
ghc-options: -Wall
dependencies:
- fingerdb
- hspec >=2.0.0
- yesod-test
- file-embed
# Define flags used by "yesod devel" to make compilation faster
flags:
library-only:
description: Build for use with "yesod devel"
manual: false
default: false
server-only:
description: Build for static deployment with "nix-build"
manual: false
default: true
dev:
description: Turn on development settings, like auto-reload templates.
manual: false
default: false