package.yaml 8.06 KB
Newer Older
1
name: gargantext
2
version: '0.0.1.6.4'
3
synopsis: Search, map, share
4 5
description: Please see README.md
category: Data
6
author: Gargantext Team
7
maintainer: team@gargantext.org
8
copyright:
9 10
    - ! 'Copyright: (c) 2017-Present: see git logs and README'
license: AGPL-3
11
homepage: https://gargantext.org
12
ghc-options: -Wall
13
extra-libraries:
14
  - gfortran
15
dependencies:
16 17
  - extra
  - text
18 19 20 21 22 23 24 25 26 27
default-extensions:
  - DataKinds
  - DeriveGeneric
  - FlexibleContexts
  - FlexibleInstances
  - GeneralizedNewtypeDeriving
  - MultiParamTypeClasses
  - NoImplicitPrelude
  - OverloadedStrings
  - RankNTypes
28 29 30 31 32
library:
  source-dirs: src
  ghc-options:
  - -Wincomplete-uni-patterns
  - -Wincomplete-record-updates
33 34 35 36
  - -Wmissing-signatures
  - -Wunused-binds
  - -Wunused-imports
  - -Werror
37
  - -freduction-depth=300
38
  exposed-modules:
39
  - Gargantext
40
  - Gargantext.API
41
  - Gargantext.API.Node
42
  - Gargantext.API.Admin.Settings
43
  - Gargantext.API.Prelude
44 45
  - Gargantext.Core
  - Gargantext.Core.Types
46
  - Gargantext.Core.Types.Individu
47 48
  - Gargantext.Core.Types.Main
  - Gargantext.Core.Utils.Prefix
49
  - Gargantext.Database.Action.Flow
50 51
  - Gargantext.Database.Query.Table.User
  - Gargantext.Database.Query.Table.Node
52
  - Gargantext.Database.Prelude
53 54
  - Gargantext.Database.Admin.Trigger.Init
  - Gargantext.Database.Admin.Config
55
  - Gargantext.Database.Admin.Types.Hyperdata
56
  - Gargantext.Database.Admin.Types.Node
57
  - Gargantext.Prelude
58
  - Gargantext.Text
59
  - Gargantext.Text.Context
60
  - Gargantext.Text.Corpus.Parsers
61
  - Gargantext.Text.Corpus.Parsers.Date.Parsec
62
  - Gargantext.Text.Corpus.API
63
  - Gargantext.Text.Corpus.Parsers.CSV
64
  - Gargantext.Text.Examples
65
  - Gargantext.Text.List.CSV
66
  - Gargantext.Text.Metrics
67
  - Gargantext.Text.Metrics.TFICF
68
  - Gargantext.Text.Metrics.CharByChar
69
  - Gargantext.Text.Metrics.Count
70 71
  - Gargantext.Text.Search
  - Gargantext.Text.Terms
72 73 74
  - Gargantext.Text.Terms.Mono
  - Gargantext.Text.Terms.Multi.Lang.En
  - Gargantext.Text.Terms.Multi.Lang.Fr
75
  - Gargantext.Text.Terms.Multi.RAKE
76
  - Gargantext.Text.Terms.WithList
77
  - Gargantext.Text.Flow
78
  - Gargantext.Viz.Graph
79
  - Gargantext.Viz.Graph.Distances.Matrice
80
  - Gargantext.Viz.Graph.Index
81
  - Gargantext.Viz.Phylo
82
  - Gargantext.Viz.AdaptativePhylo
83
  - Gargantext.Viz.Phylo.PhyloMaker
84
  - Gargantext.Viz.Phylo.Tools
qlobbe's avatar
qlobbe committed
85 86
  - Gargantext.Viz.Phylo.PhyloTools
  - Gargantext.Viz.Phylo.PhyloExport
qlobbe's avatar
qlobbe committed
87
  - Gargantext.Viz.Phylo.SynchronicClustering
88
  - Gargantext.Viz.Phylo.Example
89 90 91
  - Gargantext.Viz.Phylo.LevelMaker
  - Gargantext.Viz.Phylo.View.Export
  - Gargantext.Viz.Phylo.View.ViewMaker
92
  - Gargantext.Viz.Types
93
  dependencies:
94 95 96
  - HSvm
  - KMP
  - MonadRandom
Alexandre Delanoë's avatar
Alexandre Delanoë committed
97
  - QuickCheck
98 99
  - SHA
  - Unique
100
  - accelerate
101
  - aeson
102
  - aeson-lens
103
  - aeson-pretty
104
  - password
105
  - array
106
  - async
Alexandre Delanoë's avatar
Alexandre Delanoë committed
107
  - attoparsec
108
  - auto-update
Alexandre Delanoë's avatar
Alexandre Delanoë committed
109
  - base >=4.7 && <5
110
  - base16-bytestring
111
  - base64-bytestring
112
  - blaze-html
Quentin Lobbé's avatar
Quentin Lobbé committed
113 114
  - blaze-markup
  - blaze-svg
115 116
  - bytestring
  - case-insensitive
117
  - cassava
118
  - cereal     # (IGraph)
119
  - clock
120
  - clustering-louvain
121 122
  - conduit
  - conduit-extra
Alexandre Delanoë's avatar
Alexandre Delanoë committed
123 124
  - containers
  - contravariant
125
  - crawlerHAL
126
  - crawlerISTEX
127 128
  - crawlerIsidore
  - crawlerPubMed
129
  - data-time-segment
qlobbe's avatar
qlobbe committed
130
  - deepseq
131 132
  - directory
  - duckling
133
  - exceptions
134
  - fast-logger
135
  - fclabels
136
  - fgl
137
  - filelock
138 139
  - filepath
  - formatting
140
  - full-text-search
141
  - fullstop
Quentin Lobbé's avatar
Quentin Lobbé committed
142
  - graphviz
143
  - haskell-igraph
144 145 146 147
  - hlcm
  - hsparql
  - hstatistics
  - http-api-data
148 149
  - http-client
  - http-client-tls
150
  - http-conduit
151
  - http-media
152
  - http-types
153
  - hxt
154
  - ini
Nicolas Pouillard's avatar
Nicolas Pouillard committed
155
  - insert-ordered-containers
156
  - jose
157
  - json-stream
158
  - lens
159
  - located-base
160
  - logging-effect
161
  - matrix
162
  - monad-control
163 164 165
  - monad-logger
  - mtl
  - natural-transformation
166
  - opaleye
167
  - pandoc
qlobbe's avatar
qlobbe committed
168
  - parallel
169
  - parsec
Nicolas Pouillard's avatar
Nicolas Pouillard committed
170
  - patches-class
171
  - patches-map
Alexandre Delanoë's avatar
Alexandre Delanoë committed
172 173
  - path
  - path-io
174
  - postgresql-simple
175
  - pretty-simple
176
  - probability
177 178 179 180
  - product-profunctors
  - profunctors
  - protolude
  - pureMD5
181
  - quickcheck-instances
Alexandre Delanoë's avatar
Alexandre Delanoë committed
182
  - rake
183 184 185
  - random
  - random-shuffle
  - rdf4h
186
  - regex-compat
187
  - resource-pool
188
  - resourcet
189
  - safe
190
  - semigroups
191
  - serialise
192
  - servant
Alexandre Delanoë's avatar
Alexandre Delanoë committed
193
  - servant-auth
194 195
  - servant-auth-server >= 0.4.4.0
  - servant-auth-swagger
196
  - servant-blaze
197
  - servant-cassava
198
  - servant-client
199
  - servant-job
Alexandre Delanoë's avatar
Alexandre Delanoë committed
200
  - servant-mock
201 202
  - servant-multipart
  - servant-server
203
  - servant-static-th
204
  - servant-swagger
205
  - servant-swagger-ui
206 207 208
  - servant-xml
  - simple-reflect
  - singletons # (IGraph)
209
  - split
210
  - stemmer
211
  - string-conversions
212
  - swagger2
213
  - tagsoup
214
  - temporary
215 216 217
  - text-metrics
  - time
  - time-locale-compat
Alexandre Delanoë's avatar
Alexandre Delanoë committed
218
  - timezone-series
219
  - transformers
220
  - transformers-base
221 222
  - unordered-containers
  - uuid
223
  - validity
224 225
  - vector
  - wai
226 227
  - wai-cors
  - wai-extra
228
  - warp
229
  - wreq
230 231
  - xml-conduit
  - xml-types
232
  - xmlbf
233 234
  - yaml
  - zip
Alexandre Delanoë's avatar
Alexandre Delanoë committed
235
  - zlib
236 237
    #  - kmeans-vector
  #- charsetdetect-ae  # detect charset
Alexandre Delanoë's avatar
Alexandre Delanoë committed
238
#  - utc
239
#  API external connections
240

241
executables:
242
  gargantext-server:
243
    main: Main.hs
244 245 246
    source-dirs: bin/gargantext-server
    ghc-options:
    - -O2
247
    - -Wcompat
248 249 250 251
    - -Wmissing-signatures
    - -rtsopts
    - -threaded
    - -with-rtsopts=-N
252
    - -fprof-auto
253 254 255 256 257 258 259 260 261 262 263 264 265 266
    dependencies:
      - base
      - containers
      - gargantext
      - vector
      - cassava
      - ini
      - optparse-generic
      - unordered-containers
      - full-text-search

  gargantext-cli:
    main: Main.hs
    source-dirs: bin/gargantext-cli
267 268 269 270 271 272 273
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
274
      - aeson
275
      - async
276
      - base
277
      - bytestring
278 279 280 281 282 283
      - containers
      - gargantext
      - vector
      - cassava
      - ini
      - optparse-generic
284
      - split
285 286
      - unordered-containers
      - full-text-search
287

288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
  gargantext-phylo:
    main: Main.hs
    source-dirs: bin/gargantext-phylo
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - aeson
      - async
      - base
      - bytestring
      - containers
303
      - directory
304 305
      - gargantext
      - vector
306
      - parallel
307 308 309 310 311 312
      - cassava
      - ini
      - optparse-generic
      - split
      - unordered-containers

313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
  gargantext-adaptative-phylo:
    main: Main.hs
    source-dirs: bin/gargantext-adaptative-phylo
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - aeson
      - async
      - base
      - bytestring
      - containers
      - directory
      - gargantext
      - vector
      - parallel
      - cassava
      - ini
      - optparse-generic
      - split
      - unordered-containers      

338 339 340 341 342 343 344 345 346 347 348 349
  gargantext-import:
    main: Main.hs
    source-dirs: bin/gargantext-import
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
      - base
350
      - servant-server
351

Alexandre Delanoë's avatar
Alexandre Delanoë committed
352 353 354 355 356 357 358 359 360 361 362 363 364 365
  gargantext-init:
    main: Main.hs
    source-dirs: bin/gargantext-init
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
      - base


366
tests:
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
   garg-test:
     main: Main.hs
     source-dirs: src-test
     default-extensions:
     - DataKinds
     - DeriveGeneric
     - FlexibleContexts
     - FlexibleInstances
     - GeneralizedNewtypeDeriving
     - MultiParamTypeClasses
     - NoImplicitPrelude
     - OverloadedStrings
     - RankNTypes
     ghc-options:
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
     dependencies:
     - base
     - gargantext
     - hspec
     - QuickCheck
     - quickcheck-instances
     - time
     - parsec
     - duckling
     - text
#  garg-doctest:
#    main: Main.hs
#    source-dirs: src-doctest
#    ghc-options:
#    - -O2
#    - -Wcompat
#    - -Wmissing-signatures
#    - -rtsopts
#    - -threaded
#    - -with-rtsopts=-N
#    dependencies:
#    - doctest
#    - Glob
#    - QuickCheck
#    - base
#    - gargantext
#    default-extensions:
#    - DataKinds
#    - DeriveGeneric
#    - FlexibleContexts
#    - FlexibleInstances
#    - GeneralizedNewtypeDeriving
#    - MultiParamTypeClasses
#    - NoImplicitPrelude
#    - OverloadedStrings
#    - RankNTypes
#