stack.yaml 7.94 KB
Newer Older
1
resolver:
2
 url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/28.yaml
3 4
flags:
    accelerate:
5
        debug: false
6
extra-package-dbs: []
7
skip-ghc-check: true
8
packages:
9
- .
Alexandre Delanoë's avatar
Alexandre Delanoë committed
10
  #- 'deps/gargantext-graph'
11
  #- 'deps/haskell-opaleye'
12

13
docker:
14
  enable: false
15
  #enable: true
16
  repo: 'cgenie/stack-build:lts-18.18-garg'
17
  #repo: 'cgenie/nixos-stack:latest'
18 19
  run-args:
    - '--publish=8008:8008'
20

21 22
skip-ghc-check: true

23
nix:
24
  enable: false
25
  add-gc-roots: true
26
  shell-file: nix/stack-shell.nix
27

28
allow-newer: true
29

30 31
ghc-options:
  "$everything": -fprint-potential-instances
32 33
#  "$everything": -haddock

34
extra-deps:
35 36 37 38
- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
  commit: 7bcd5fc5bad511892c4fd337cf2d4d23c1ec051b
#- git: https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude
#  commit: 7b9656ce5180d2723301561b0715f06c7b905182
39
- git: https://gitlab.iscpif.fr/gargantext/gargantext-graph.git
40
  commit: 588e104fe7593210956610cab0041fd16584a4ce
41
  # Data Mining Libs
42
- git: https://github.com/delanoe/data-time-segment.git
43
  commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef
44 45
- git: https://gitlab.iscpif.fr/gargantext/hlcm.git
  commit: 6f0595d2421005837d59151a8b26eee83ebb67b5
46 47 48 49
- git: https://github.com/delanoe/hstatistics.git
  commit: 90eef7604bb230644c2246eccd094d7bfefcb135
- git: https://github.com/paulrzcz/HSvm.git
  commit: 3fe28b683aba5ddf05e3b5f8eced0bd05c5a29f9
50 51

  # API libs
52 53 54 55 56 57 58 59 60 61
- git: https://github.com/haskell-servant/servant.git
  commit: c2af6e775d1d36f2011d43aff230bb502f8fba63
  subdirs:
    - servant/
    - servant-server/
    - servant-client-core/
    - servant-client/
    - servant-auth/servant-auth/
    - servant-auth/servant-auth-client/
    - servant-auth/servant-auth-server/
62 63
- git: https://github.com/delanoe/servant-static-th.git
  commit: 8cb8aaf2962ad44d319fcea48442e4397b3c49e8
64
- git: https://github.com/alpmestan/ekg-json.git
65
  commit: fd7e5d7325939103cd87d0dc592faf644160341c
66 67

  # Databases libs
68
- git: https://github.com/delanoe/haskell-opaleye.git
69
  commit: 756cb90f4ce725463d957bc899d764e0ed73738c
70
- git: https://github.com/delanoe/hsparql.git
71
  commit: 2acbbc55ac9bbd4bf1a713c586b8b8e8b82892eb
Alexandre Delanoë's avatar
Alexandre Delanoë committed
72 73
- git: https://github.com/robstewart57/rdf4h.git
  commit: 4fd2edf30c141600ffad6d730cc4c1c08a6dbce4
74 75

  # External Data API connectors
76
- git: https://gitlab.iscpif.fr/gargantext/crawlers/pubmed.git
77
  commit: 31cb4d28dcb5d17274cede5e67b2a01914379129
78
  #commit: 364885c891cbadcd4d8a623d2e41394b09f653aa
79
- git: https://gitlab.iscpif.fr/gargantext/crawlers/istex.git
80
  commit: a34bb341236d82cf3d488210bc1d8448a98f5808
81
- git: https://gitlab.iscpif.fr/gargantext/crawlers/hal.git
82
  commit: 7b740eeecf9e455ca6c14d39e16ebc7d60f57a8d
83 84
- git: https://gitlab.iscpif.fr/gargantext/crawlers/isidore.git
  commit: 3db385e767d2100d8abe900833c6e7de3ac55e1b
85
- git: https://gitlab.iscpif.fr/gargantext/crawlers/arxiv-api.git
86
  commit: a2d78abeaec9315be765b90d5e51a4a50c48e7b8
87
#- git: https://gitlab.iscpif.fr/cgenie/arxiv-api.git
88
#- arxiv-0.0.3@sha256:02de1114091d11f1f3ab401d104d125ad4301260806feb7f63b3dcefc7db88cf,1588
89

90
  # NP libs
91
- git: https://github.com/alpmestan/servant-job.git
92
  commit: b4182487cfe479777c11ca19f3c0d47840b376f6
93
  #- git: https://github.com/np/patches-map
94 95 96 97 98
- git: https://github.com/delanoe/patches-map
  commit: 76cae88f367976ff091e661ee69a5c3126b94694
  #- git: https://gitlab.com/npouillard/patches-class.git  
- git: https://gitlab.iscpif.fr/gargantext/patches-class.git
  commit: d3e971d4e78d1dfcc853f2fb86bde1995faf22ae
99

100
  # Graph libs
101
#- git: https://github.com/kaizhang/haskell-igraph.git
102 103
- git: https://github.com/alpmestan/haskell-igraph.git
  commit: 9f55eb36639c8e0965c8bc539a57738869f33e9a
104
- git: https://gitlab.iscpif.fr/gargantext/haskell-infomap.git
105
  commit: 6d1d60b952b9b2b272b58fc5539700fd8890ac88
106

107
  # Accelerate Linear Algebra and specific instances
108
- git: https://github.com/alpmestan/accelerate.git
109
  commit: 640b5af87cea94b61c7737d878e6f7f2fca5c015
110 111 112 113 114
- git: https://github.com/alpmestan/accelerate-arithmetic.git
  commit: a110807651036ca2228a76507ee35bbf7aedf87a
- git: https://gitlab.iscpif.fr/amestanogullari/accelerate-utility.git
  commit: a3875fe652d3bb5acb522674c22c6c814c1b4ad0
- git: https://github.com/alpmestan/accelerate-llvm.git
115
  commit: 944f5a4aea35ee6aedb81ea754bf46b131fce9e3
116 117 118
  subdirs:
    - accelerate-llvm/
    - accelerate-llvm-native/
119 120
- git: https://github.com/rspeer/wikiparsec.git
  commit: 9637a82344bb70f7fa8f02e75db3c081ccd434ce
121

122 123 124 125 126 127 128 129 130 131 132
  # Gargantext-graph
- eigen-3.3.7.0@sha256:7c24a86426b238e02ba0ac2179cc44997518b443a13828ed7a791fe49a6dffa5,82060
- git: https://github.com/alpmestan/sparse-linear.git
  commit: bc6ca8058077b0b5702ea4b88bd4189cfcad267a
  subdirs:
    - sparse-linear
- git: https://github.com/alpmestan/hmatrix.git
  commit: b9fca8beee0f23c17a6b2001ec834d071709e6e7
  subdirs:
    - packages/base

133 134 135 136
- monad-logger-aeson-0.2.0.0
# required by monad-logger-aeson
- context-0.2.0.0@sha256:6b643adb4a64fe521873d08df0497f71f88e18b9ecff4b68b4eef938e446cfc9,1886

137 138
- random-1.2.1

139
      # Others dependencies (using stack resolver)
140
- constraints-extras-0.3.1.0@sha256:12016ebb91ad5ed2c82bf7e48c6bd6947d164d33c9dca5ac3965de1bb6c780c0,1777
141
- KMP-0.2.0.0@sha256:6dfbac03ef00ebd9347234732cb86a40f62ab5a80c0cc6bedb8eb51766f7df28,2562
142 143 144 145
- Unique-0.4.7.8@sha256:9661f45aa31dde119a2114566166ea38b011a45653337045ee4ced75636533c0,2067
- dependent-sum-0.7.1.0@sha256:0e419237f5b86da3659772afff9cab355c0f8d5b3fdb15a5b30e673d8dc83941,2147
- duckling-0.2.0.0@sha256:84becd4e48ee3676cdd6fe5745a77ee60e365ea730cd759610c8a7738f3eb4a6,60543
- fclabels-2.0.5@sha256:817006077632bd29e637956154aa33d3c10a59be0791c308cef955eb951b2675,4473
146 147 148 149 150
- full-text-search-0.2.1.4@sha256:81f6df3327e5b604f99b15e78635e5d6ca996e504c21d268a6d751d7d131aa36,6032
- fullstop-0.1.4@sha256:80a3e382ef53551bb936e7da8b2825621df0ea169af1212debcb0a90010b30c8,2044
- hgal-2.0.0.2@sha256:13d58afd0668b9cb881c612eff8488a0e289edd4bbffa893df4beee60cfeb73b,653
- json-stream-0.4.2.4@sha256:8b7f17d54a6e1e6311756270f8bcf51e91bab4300945400de66118470dcf51b9,4716
- located-base-0.1.1.1@sha256:7c6395f2b6fbf2d5f76c3514f774423838c0ea94e1c6a5530dd3c94b30c9d1c8,1904
151
- logging-effect-1.3.12@sha256:72d168dd09887649ba9501627219b6027cbec2d5541931555b7885b133785ce3,1679
152
- MissingH-1.4.3.0@sha256:32f9892ec98cd21df4f4d3ed8d95a3831ae74287ea0641d6f09b2dc6ef061d39,4859
153
- monoid-extras-0.5.1@sha256:438dbfd7b4dce47d8f0ca577f56caf94bd1e21391afa545cad09fe7cf2e5793d,2333
154
- rake-0.0.1@sha256:3380f6567fb17505d1095b7f32222c0b631fa04126ad39726c84262da99c08b3,2025
155
- servant-cassava-0.10.1@sha256:07e7b6ca67cf57dcb4a0041a399a25d058844505837c6479e01d62be59d01fdf,1665
156
- servant-flatten-0.2@sha256:276896f7c5cdec5b8f8493f6205fded0cc602d050b58fdb09a6d7c85c3bb0837,1234
157
- servant-mock-0.8.7@sha256:64cb3e52bbd51ab6cb25e3f412a99ea712c6c26f1efd117f01a8d1664df49c67,2306
158 159 160 161
- servant-xml-1.0.1.4@sha256:6c9f2986ac42e72fe24b794c660763a1966a18d696b34cd4f4ed15165edd4aa0,851
- stemmer-0.5.2@sha256:823aec56249ec2619f60a2c0d1384b732894dbbbe642856d337ebfe9629a0efd,4082
- xmlbf-0.6.1@sha256:57867fcb39e0514d17b3328ff5de8d241a18482fc89bb742d9ed820a6a2a5187,1540
- xmlbf-xeno-0.2@sha256:39f70fced6052524c290cf595f114661c721452e65fc3e0953a44e7682a6a6b0,950
162 163

# need Vector.uncons
Alexandre Delanoë's avatar
Alexandre Delanoë committed
164
- vector-0.12.3.0@sha256:0ae2c1ba86f0077910be242ec6802cc3d7725fe7b2bea6987201aa3737b239b5,7953
165 166 167 168 169 170 171

# needed for wikiparsec
- fast-tagsoup-utf8-only-1.0.5@sha256:9292c8ff275c08b88b6013ccc410182552f180904214a07ad4db932ab462aaa1,1651
# wikipedia crawl
- taggy-lens-0.1.2@sha256:091ca81d02bd3d7fb493dce0148e1a38f25eb178a1ebd751043a23239e5e3265,3009
- taggy-0.2.1@sha256:7bc55ddba178971dc6052163597f0445a0a2b5b0ca0e84ce651d53d722e3c265,4662

172
- servant-ekg-0.3.1@sha256:19bd9dc3943983da8e79d6f607614c68faea4054fb889d508c8a2b67b6bdd448,2203
Alexandre Delanoë's avatar
Alexandre Delanoë committed
173 174 175


# For the graph clustering
176 177 178 179
ghc-options:
  hmatrix: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal  -fno-state-hack
  sparse-linear: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal  -fno-state-hack
  gargantext-graph: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal  -fno-state-hack