package.yaml 10.9 KB
Newer Older
1
name: gargantext
2 3 4 5 6 7 8

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

292
executables:
293
  gargantext-server:
294
    main: Main.hs
295 296 297
    source-dirs: bin/gargantext-server
    ghc-options:
    - -O2
298
    - -Wcompat
299 300 301 302
    - -Wmissing-signatures
    - -rtsopts
    - -threaded
    - -with-rtsopts=-N
303
    - -with-rtsopts=-T
304
    - -fprof-auto
305 306 307 308
    dependencies:
      - base
      - containers
      - gargantext
309
      - gargantext-prelude
310 311 312 313 314 315 316 317 318 319
      - vector
      - cassava
      - ini
      - optparse-generic
      - unordered-containers
      - full-text-search

  gargantext-cli:
    main: Main.hs
    source-dirs: bin/gargantext-cli
320 321 322 323 324 325 326
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
327
      - aeson
328
      - async
329
      - base
330
      - bytestring
331 332
      - containers
      - gargantext
333
      - gargantext-prelude
334 335 336 337
      - vector
      - cassava
      - ini
      - optparse-generic
338
      - split
339 340
      - unordered-containers
      - full-text-search
341

342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377

  gargantext-client:
    main: Main.hs
    source-dirs: bin/gargantext-client
    ghc-options:
    - -Wall
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    default-extensions:
    - DataKinds
    - DeriveGeneric
    - FlexibleContexts
    - FlexibleInstances
    - GeneralizedNewtypeDeriving
    - MultiParamTypeClasses
    - NamedFieldPuns
    - NoImplicitPrelude
    - OverloadedStrings
    - RankNTypes
    - RecordWildCards
    dependencies:
    - base
    - extra
    - servant
    - text
    - optparse-generic
    - exceptions
    - servant-client
    - servant-auth-client
    - gargantext
    - ekg-json
    - http-client

378
  gargantext-phylo:
379
    main: Main.hs
380
    source-dirs: bin/gargantext-phylo
381 382 383 384 385 386 387 388 389 390 391 392 393 394
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - aeson
      - async
      - base
      - bytestring
      - containers
      - directory
      - gargantext
395
      - gargantext-prelude
396 397 398 399 400 401
      - vector
      - parallel
      - cassava
      - ini
      - optparse-generic
      - split
qlobbe's avatar
qlobbe committed
402
      - unordered-containers
Alexandre Delanoë's avatar
Alexandre Delanoë committed
403
      - cryptohash
qlobbe's avatar
qlobbe committed
404
      - time 
405

406 407 408 409 410 411 412 413 414 415 416
  gargantext-import:
    main: Main.hs
    source-dirs: bin/gargantext-import
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
417
      - gargantext-prelude
418
      - base
419
      - servant-server
420

Alexandre Delanoë's avatar
Alexandre Delanoë committed
421 422 423 424 425 426 427 428 429 430 431
  gargantext-init:
    main: Main.hs
    source-dirs: bin/gargantext-init
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
432
      - gargantext-prelude
Alexandre Delanoë's avatar
Alexandre Delanoë committed
433 434
      - base

435 436 437 438 439 440 441 442 443 444 445 446 447 448
  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
      - postgresql-simple
449

450 451 452 453 454 455 456 457 458 459 460
  gargantext-admin:
    main: Main.hs
    source-dirs: bin/gargantext-admin
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -O2
    - -Wmissing-signatures
    dependencies:
      - gargantext
461
      - gargantext-prelude
462 463
      - base

464

Alexandre Delanoë's avatar
Alexandre Delanoë committed
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480
  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
481

Alexandre Delanoë's avatar
Alexandre Delanoë committed
482

483
tests:
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
   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
504
     - gargantext-prelude
505 506 507 508 509 510 511
     - hspec
     - QuickCheck
     - quickcheck-instances
     - time
     - parsec
     - duckling
     - text
512
     - unordered-containers
513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540
#  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
#