package.yaml 9.55 KB
Newer Older
1
name: gargantext
2
version: '0.0.4.8.1'
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
Quentin Lobbé's avatar
Quentin Lobbé committed
161
  - graphviz
Nicolas Pouillard's avatar
Nicolas Pouillard committed
162
  - hashable
163
  - haskell-igraph
164 165 166 167
  - hlcm
  - hsparql
  - hstatistics
  - http-api-data
168 169
  - http-client
  - http-client-tls
170
  - http-conduit
171
  - http-media
172
  - http-types
173
  - hxt
174
  - ini
Nicolas Pouillard's avatar
Nicolas Pouillard committed
175
  - insert-ordered-containers
176
  - jose
177
  - json-stream
178
  - lens
179
  - located-base
180
  - logging-effect
181
  - matrix
182
  - monad-control
183
  - monad-logger
184
  - morpheus-graphql
185 186
  - morpheus-graphql-app
  - morpheus-graphql-core
187
  - morpheus-graphql-subscriptions
188 189
  - mtl
  - natural-transformation
190
  - opaleye
191
  - pandoc
qlobbe's avatar
qlobbe committed
192
  - parallel
193
  - parsec
Nicolas Pouillard's avatar
Nicolas Pouillard committed
194
  - patches-class
195
  - patches-map
Alexandre Delanoë's avatar
Alexandre Delanoë committed
196 197
  - path
  - path-io
198
  - postgresql-simple
199
  - pretty-simple
200
  - probability
201 202 203 204
  - product-profunctors
  - profunctors
  - protolude
  - pureMD5
205
  - quickcheck-instances
Alexandre Delanoë's avatar
Alexandre Delanoë committed
206
  - rake
207 208
  - random
  - rdf4h
209
  - regex-compat
210
  - regex-tdfa
211
  - resource-pool
212
  - resourcet
213
  - safe
214
  - scientific
215
  - semigroups
216
  - serialise
217
  - servant
Alexandre Delanoë's avatar
Alexandre Delanoë committed
218
  - servant-auth
219 220
  - servant-auth-server >= 0.4.4.0
  - servant-auth-swagger
221
  - servant-blaze
222
  - servant-cassava
223
  - servant-client
224
  - servant-ekg
225
  - servant-job
Alexandre Delanoë's avatar
Alexandre Delanoë committed
226
  - servant-mock
227 228
  - servant-multipart
  - servant-server
229
  - servant-static-th
230
  - servant-swagger
231
  - servant-swagger-ui
232 233 234
  - servant-xml
  - simple-reflect
  - singletons # (IGraph)
235
  - split
236
  - stemmer
237
  - swagger2
238
  - tagsoup
239
  - template-haskell
240
  - temporary
241 242 243
  - text-metrics
  - time
  - time-locale-compat
Alexandre Delanoë's avatar
Alexandre Delanoë committed
244
  - timezone-series
245
  - transformers
246
  - transformers-base
247
  - unordered-containers
248
  - utf8-string
249
  - uuid
250
  - validity
251 252
  - vector
  - wai
253
  - wai-app-static
254 255
  - wai-cors
  - wai-extra
256
  - wai-websockets
257
  - warp
258
  - websockets
259
  - wreq
260 261
  - xml-conduit
  - xml-types
262
  - xmlbf
263 264
  - yaml
  - zip
Alexandre Delanoë's avatar
Alexandre Delanoë committed
265
  - zlib
266

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

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

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

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

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

374 375 376 377 378 379 380 381 382 383 384 385 386
#  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
387

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

402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418

#  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
419

Alexandre Delanoë's avatar
Alexandre Delanoë committed
420

421
tests:
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
   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
442
     - gargantext-prelude
443 444 445 446 447 448 449
     - hspec
     - QuickCheck
     - quickcheck-instances
     - time
     - parsec
     - duckling
     - text
450
     - unordered-containers
451 452 453 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
#  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
#