package.yaml 9.61 KB
Newer Older
1
name: gargantext
2
version: '0.0.4.8'
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 13
ghc-options: -Wall
dependencies:
14 15
  - extra
  - text
16 17 18 19 20 21 22
default-extensions:
  - DataKinds
  - DeriveGeneric
  - FlexibleContexts
  - FlexibleInstances
  - GeneralizedNewtypeDeriving
  - MultiParamTypeClasses
23
  - NamedFieldPuns
24 25 26
  - NoImplicitPrelude
  - OverloadedStrings
  - RankNTypes
27
  - RecordWildCards
28 29 30 31 32 33 34 35 36
data-files:
  - ekg-assets/index.html
  - ekg-assets/monitor.js
  - ekg-assets/monitor.css
  - ekg-assets/jquery.flot.min.js
  - ekg-assets/jquery-1.6.4.min.js
  - ekg-assets/bootstrap-1.4.0.min.css
  - ekg-assets/chart_line_add.png
  - ekg-assets/cross.png
37 38 39 40 41
library:
  source-dirs: src
  ghc-options:
  - -Wincomplete-uni-patterns
  - -Wincomplete-record-updates
42 43 44 45
  - -Wmissing-signatures
  - -Wunused-binds
  - -Wunused-imports
  - -Werror
46
  - -freduction-depth=300
47
  exposed-modules:
48
  - Gargantext
49
  - Gargantext.API
50
  - Gargantext.API.Dev
51
  - Gargantext.API.HashedResponse
52
  - Gargantext.API.Node
53
  - Gargantext.API.Node.File
54
  - Gargantext.API.Ngrams
55
  - Gargantext.API.Ngrams.Tools
56
  - Gargantext.API.Ngrams.Types
57
  - Gargantext.API.Admin.Settings
58
  - Gargantext.API.Admin.EnvTypes
59
  - Gargantext.API.Admin.Types
60
  - Gargantext.API.Prelude
61
  - Gargantext.Core
62
  - Gargantext.Core.NodeStory
63
  - Gargantext.Core.Methods.Distances
64
  - Gargantext.Core.Types
65
  - Gargantext.Core.Types.Individu
66 67
  - Gargantext.Core.Types.Main
  - Gargantext.Core.Utils.Prefix
68
  - Gargantext.Database.Action.Flow
69
  - Gargantext.Database.Action.Flow.Types
70
  - Gargantext.Database.Action.User.New
71 72
  - Gargantext.Database.Query.Table.User
  - Gargantext.Database.Query.Table.Node
73
  - Gargantext.Database.Query.Table.Node.UpdateOpaleye
74
  - Gargantext.Database.Query.Table.NgramsPostag
75
  - Gargantext.Database.Prelude
76 77
  - Gargantext.Database.Admin.Trigger.Init
  - Gargantext.Database.Admin.Config
78
  - Gargantext.Database.Admin.Types.Hyperdata
79
  - Gargantext.Database.Admin.Types.Node
80 81 82 83 84 85
  - Gargantext.Core.Text
  - Gargantext.Core.Text.Context
  - Gargantext.Core.Text.Corpus.Parsers
  - Gargantext.Core.Text.Corpus.Parsers.Date.Parsec
  - Gargantext.Core.Text.Corpus.API
  - Gargantext.Core.Text.Corpus.Parsers.CSV
Alexandre Delanoë's avatar
Alexandre Delanoë committed
86
  - Gargantext.Core.Text.List.Formats.CSV
87 88 89 90 91 92 93 94 95 96 97
  - Gargantext.Core.Text.Metrics
  - Gargantext.Core.Text.Metrics.TFICF
  - Gargantext.Core.Text.Metrics.CharByChar
  - Gargantext.Core.Text.Metrics.Count
  - Gargantext.Core.Text.Search
  - Gargantext.Core.Text.Terms
  - Gargantext.Core.Text.Terms.Mono
  - Gargantext.Core.Text.Terms.Multi.Lang.En
  - Gargantext.Core.Text.Terms.Multi.Lang.Fr
  - Gargantext.Core.Text.Terms.Multi.RAKE
  - Gargantext.Core.Text.Terms.WithList
98
  - Gargantext.Core.Viz.Graph
99 100
  - Gargantext.Core.Viz.Graph.Tools
  - Gargantext.Core.Viz.Graph.Tools.IGraph
101 102 103 104 105 106 107
  - Gargantext.Core.Viz.Graph.Index
  - Gargantext.Core.Viz.AdaptativePhylo
  - Gargantext.Core.Viz.Phylo.PhyloMaker
  - Gargantext.Core.Viz.Phylo.PhyloTools
  - Gargantext.Core.Viz.Phylo.PhyloExport
  - Gargantext.Core.Viz.Phylo.SynchronicClustering
  - Gargantext.Core.Viz.Types
108
  dependencies:
109 110
  - HSvm
  - KMP
111
  - MissingH
112
  - MonadRandom
Alexandre Delanoë's avatar
Alexandre Delanoë committed
113
  - QuickCheck
114
  - Unique
115
  - accelerate
116
  - accelerate-arithmetic
117
  - accelerate-utility
118
  - aeson
119
  - aeson-lens
120
  - aeson-pretty
121
  - array
122
  - async
Alexandre Delanoë's avatar
Alexandre Delanoë committed
123
  - attoparsec
124
  - auto-update
Alexandre Delanoë's avatar
Alexandre Delanoë committed
125
  - base >=4.7 && <5
126
  - base16-bytestring
127
  - base64-bytestring
128
  - blaze-html
Quentin Lobbé's avatar
Quentin Lobbé committed
129 130
  - blaze-markup
  - blaze-svg
131 132
  - bytestring
  - case-insensitive
133
  - cassava
134
  - cereal     # (IGraph)
135
  - cborg
136 137
  - conduit
  - conduit-extra
Alexandre Delanoë's avatar
Alexandre Delanoë committed
138 139
  - containers
  - contravariant
140
  - crawlerHAL
141
  - crawlerISTEX
142 143
  - crawlerIsidore
  - crawlerPubMed
144
  - cryptohash
145
  - data-time-segment
qlobbe's avatar
qlobbe committed
146
  - deepseq
147 148
  - directory
  - duckling
149 150
  - ekg-core
  - ekg-json
151
  - exceptions
152
  - fast-logger
153
  - fclabels
154
  - fgl
155
  - filelock
156 157
  - filepath
  - formatting
158
  - full-text-search
159
  - fullstop
160
  - gargantext-prelude
161
  - gargantext-graph >= 0.1.0.0
Quentin Lobbé's avatar
Quentin Lobbé committed
162
  - graphviz
Nicolas Pouillard's avatar
Nicolas Pouillard committed
163
  - hashable
164
  - haskell-igraph
165 166 167 168
  - hlcm
  - hsparql
  - hstatistics
  - http-api-data
169 170
  - http-client
  - http-client-tls
171
  - http-conduit
172
  - http-media
173
  - http-types
174
  - hxt
175
  - ini
Nicolas Pouillard's avatar
Nicolas Pouillard committed
176
  - insert-ordered-containers
177
  - jose
178
  - json-stream
179
  - lens
180
  - located-base
181
  - logging-effect
182
  - matrix
183
  - monad-control
184
  - monad-logger
185
  - morpheus-graphql
186 187
  - morpheus-graphql-app
  - morpheus-graphql-core
188
  - morpheus-graphql-subscriptions
189 190
  - mtl
  - natural-transformation
191
  - opaleye
192
  - pandoc
qlobbe's avatar
qlobbe committed
193
  - parallel
194
  - parsec
Nicolas Pouillard's avatar
Nicolas Pouillard committed
195
  - patches-class
196
  - patches-map
Alexandre Delanoë's avatar
Alexandre Delanoë committed
197 198
  - path
  - path-io
199
  - postgresql-simple
200
  - pretty-simple
201
  - probability
202 203 204 205
  - product-profunctors
  - profunctors
  - protolude
  - pureMD5
206
  - quickcheck-instances
Alexandre Delanoë's avatar
Alexandre Delanoë committed
207
  - rake
208 209
  - random
  - rdf4h
210
  - regex-compat
211
  - regex-tdfa
212
  - resource-pool
213
  - resourcet
214
  - safe
215
  - scientific
216
  - semigroups
217
  - serialise
218
  - servant
Alexandre Delanoë's avatar
Alexandre Delanoë committed
219
  - servant-auth
220 221
  - servant-auth-server >= 0.4.4.0
  - servant-auth-swagger
222
  - servant-blaze
223
  - servant-cassava
224
  - servant-client
225
  - servant-ekg
226
  - servant-job
Alexandre Delanoë's avatar
Alexandre Delanoë committed
227
  - servant-mock
228 229
  - servant-multipart
  - servant-server
230
  - servant-static-th
231
  - servant-swagger
232
  - servant-swagger-ui
233 234 235
  - servant-xml
  - simple-reflect
  - singletons # (IGraph)
236
  - split
237
  - stemmer
238
  - swagger2
239
  - taggy-lens
240
  - tagsoup
241
  - template-haskell
242
  - temporary
243 244 245
  - text-metrics
  - time
  - time-locale-compat
Alexandre Delanoë's avatar
Alexandre Delanoë committed
246
  - timezone-series
247
  - transformers
248
  - transformers-base
249
  - unordered-containers
250
  - utf8-string
251
  - uuid
252
  - validity
253 254
  - vector
  - wai
255
  - wai-app-static
256 257
  - wai-cors
  - wai-extra
258
  - wai-websockets
259
  - warp
260
  - wikiparsec
261
  - websockets
262
  - wreq
263 264
  - xml-conduit
  - xml-types
265
  - xmlbf
266 267
  - yaml
  - zip
Alexandre Delanoë's avatar
Alexandre Delanoë committed
268
  - zlib
269

270
executables:
271
  gargantext-server:
272
    main: Main.hs
273 274 275
    source-dirs: bin/gargantext-server
    ghc-options:
    - -O2
276
    - -Wcompat
277 278 279 280
    - -Wmissing-signatures
    - -rtsopts
    - -threaded
    - -with-rtsopts=-N
281
    - -with-rtsopts=-T
282
    - -fprof-auto
283 284 285 286
    dependencies:
      - base
      - containers
      - gargantext
287
      - gargantext-prelude
288 289 290 291 292 293 294 295 296 297
      - vector
      - cassava
      - ini
      - optparse-generic
      - unordered-containers
      - full-text-search

  gargantext-cli:
    main: Main.hs
    source-dirs: bin/gargantext-cli
298 299 300 301 302 303 304
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
305
      - aeson
306
      - async
307
      - base
308
      - bytestring
309 310
      - containers
      - gargantext
311
      - gargantext-prelude
312 313 314 315
      - vector
      - cassava
      - ini
      - optparse-generic
316
      - split
317 318
      - unordered-containers
      - full-text-search
319

320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
  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
337
      - gargantext-prelude
338 339 340 341 342 343
      - vector
      - parallel
      - cassava
      - ini
      - optparse-generic
      - split
qlobbe's avatar
qlobbe committed
344
      - unordered-containers
Alexandre Delanoë's avatar
Alexandre Delanoë committed
345
      - cryptohash
qlobbe's avatar
qlobbe committed
346
      - time 
347

348 349 350 351 352 353 354 355 356 357 358
  gargantext-import:
    main: Main.hs
    source-dirs: bin/gargantext-import
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
359
      - gargantext-prelude
360
      - base
361
      - servant-server
362

Alexandre Delanoë's avatar
Alexandre Delanoë committed
363 364 365 366 367 368 369 370 371 372 373
  gargantext-init:
    main: Main.hs
    source-dirs: bin/gargantext-init
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
374
      - gargantext-prelude
Alexandre Delanoë's avatar
Alexandre Delanoë committed
375 376
      - base

377 378 379 380 381 382 383 384 385 386 387 388 389
#  gargantext-upgrade:
#    main: Main.hs
#    source-dirs: bin/gargantext-upgrade
#    ghc-options:
#    - -threaded
#    - -rtsopts
#    - -with-rtsopts=-N
#    - -O2
#    - -Wmissing-signatures
#    dependencies:
#      - gargantext
#      - gargantext-prelude
#      - base
390

391 392 393 394 395 396 397 398 399 400 401
  gargantext-admin:
    main: Main.hs
    source-dirs: bin/gargantext-admin
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
402
      - gargantext-prelude
403 404
      - base

405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421

#  gargantext-cbor2json:
#    main: Main.hs
#    source-dirs: bin/gargantext-cbor2json
#    ghc-options:
#    - -threaded
#    - -rtsopts
#    - -with-rtsopts=-N
#    - -O2
#    - -Wmissing-signatures
#    dependencies:
#      - gargantext
#      - gargantext-prelude
#      - base
#      - bytestring
#      - aeson
#      - serialise
422

Alexandre Delanoë's avatar
Alexandre Delanoë committed
423

424
tests:
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
   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
445
     - gargantext-prelude
446 447 448 449 450 451 452
     - hspec
     - QuickCheck
     - quickcheck-instances
     - time
     - parsec
     - duckling
     - text
453
     - unordered-containers
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
#  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
#