forked from fossas/spectrometer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spectrometer.cabal
367 lines (356 loc) · 10.3 KB
/
spectrometer.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
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
338
339
340
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
cabal-version: 2.2
name: spectrometer
version: 0.1.0.0
license: MPL-2.0
build-type: Simple
extra-source-files:
scripts/depgraph-maven-plugin-3.3.0.jar
scripts/jsondeps.gradle
vendor/cliv1
vendor/syft
vendor/wiggins
common lang
build-depends: base >=4.12 && <4.15
default-language: Haskell2010
default-extensions:
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
EmptyCase
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTSyntax
GeneralizedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
OverloadedStrings
PolyKinds
PostfixOperators
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StrictData
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
ghc-options:
-Wall -Wincomplete-uni-patterns -Wcompat
-Wincomplete-record-updates -Wmissing-home-modules
-Wmissing-export-lists -Wredundant-constraints
-- TODO: base16-bytestring isn't a direct dep, but we need to add version bounds because cpio-conduit fails to compile with a newer version. Remove the dependency on base16-bytestring once we fix or bump cpio-conduit
-- TODO: Switch `semver` back to `versions` once https://github.com/fosskers/versions/issues/47 is fixed? This package maintainer seems much more responsive. Contrast https://github.com/brendanhay/semver/issues/12.
common deps
build-depends:
, aeson ^>=1.5.2.0
, algebraic-graphs ^>=0.5
, ansi-terminal ^>=0.11
, async ^>=2.2.2
, attoparsec ^>=0.13.2.3
, base16-bytestring ^>=0.1.1.7
, bytestring ^>=0.10.8
, codec-rpm ^>=0.2.2
, concurrent-output ^>=1.10.12
, conduit ^>=1.3.2
, conduit-extra ^>=1.3.5
, containers ^>=0.6.0
, cpio-conduit ^>=0.7.0
, cryptonite ^>=0.28
, directory ^>=1.3.6.1
, exceptions ^>=0.10.4
, file-embed ^>=0.0.11
, filepath ^>=1.4.2.1
, fused-effects ^>=1.1.0.0
, fused-effects-exceptions ^>=1.1.0.0
, git-config ^>=0.1.2
, githash ^>=0.1.4.0
, hedn ^>=0.3.0.1
, http-client ^>=0.7.1
, http-types ^>=0.12.3
, lzma-conduit ^>=1.2.1
, megaparsec ^>=8.0
, modern-uri ^>=0.3.4
, mtl ^>=2.2.2
, optparse-applicative >=0.15 && <0.17
, path ^>=0.8
, path-io ^>=1.6.0
, prettyprinter >=1.6 && <1.8
, prettyprinter-ansi-terminal ^>=1.1.1
, req ^>=3.7
, semver ^>=0.4.0.1
, split ^>=0.2.3.4
, stm ^>=2.5.0
, stm-chans ^>=3.0.0
, tar ^>=0.5.1.1
, template-haskell >=2.15 && <2.17
, text ^>=1.2.3
, th-lift-instances ^>=0.1.17
, time >=1.9 && <1.11
, tomland ^>=1.3.0.0
, transformers
, typed-process ^>=0.2.6
, unordered-containers ^>=0.2.10
, vector ^>=0.12.0.3
, versions ^>=4.0.1
, xml ^>=1.3.14
, yaml ^>=0.11.1
, yarn-lock ^>=0.6.2
, zip ^>=1.5.0
, zlib ^>=0.6.2.1
library
import: lang
import: deps
-- cabal-fmt: expand src
exposed-modules:
Algebra.Graph.AdjacencyMap.Extra
App.Fossa.Analyze
App.Fossa.Analyze.Graph
App.Fossa.Analyze.GraphBuilder
App.Fossa.Analyze.GraphMangler
App.Fossa.Analyze.Project
App.Fossa.Analyze.Record
App.Fossa.API.BuildLink
App.Fossa.API.BuildWait
App.Fossa.ArchiveUploader
App.Fossa.Compatibility
App.Fossa.Configuration
App.Fossa.Container
App.Fossa.Container.Analyze
App.Fossa.Container.Test
App.Fossa.EmbeddedBinary
App.Fossa.FossaAPIV1
App.Fossa.ListTargets
App.Fossa.Main
App.Fossa.ManualDeps
App.Fossa.Monorepo
App.Fossa.ProjectInference
App.Fossa.Report
App.Fossa.Report.Attribution
App.Fossa.Test
App.Fossa.VPS.AOSPNotice
App.Fossa.VPS.NinjaGraph
App.Fossa.VPS.Report
App.Fossa.VPS.Scan
App.Fossa.VPS.Scan.Core
App.Fossa.VPS.Scan.RunWiggins
App.Fossa.VPS.Scan.ScotlandYard
App.Fossa.VPS.Test
App.Fossa.VPS.Types
App.OptionExtensions
App.Pathfinder.Main
App.Pathfinder.Scan
App.Types
App.Util
App.Version
App.Version.TH
Console.Sticky
Control.Carrier.AtomicCounter
Control.Carrier.AtomicState
Control.Carrier.Diagnostics
Control.Carrier.Diagnostics.StickyContext
Control.Carrier.Finally
Control.Carrier.Output.IO
Control.Carrier.Simple
Control.Carrier.StickyLogger
Control.Carrier.TaskPool
Control.Carrier.Threaded
Control.Effect.AtomicCounter
Control.Effect.AtomicState
Control.Effect.ConsoleRegion
Control.Effect.Diagnostics
Control.Effect.Finally
Control.Effect.Output
Control.Effect.Path
Control.Effect.Record
Control.Effect.Record.TH
Control.Effect.Replay
Control.Effect.Replay.TH
Control.Effect.StickyLogger
Control.Effect.TaskPool
Control.Exception.Extra
Data.Aeson.Extra
Data.FileEmbed.Extra
Data.Flag
Data.Functor.Extra
Data.List.Extra
Data.String.Conversion
Data.Set.NonEmpty
Data.Text.Extra
DepTypes
Discovery.Archive
Discovery.Archive.RPM
Discovery.Filters
Discovery.Projects
Discovery.Walk
Effect.Exec
Effect.Grapher
Effect.Logger
Effect.ReadFS
Fossa.API.Types
Graphing
Parse.XML
Srclib.Converter
Srclib.Types
Strategy.Bundler
Strategy.Cargo
Strategy.Carthage
Strategy.Cocoapods
Strategy.Cocoapods.Podfile
Strategy.Cocoapods.PodfileLock
Strategy.Composer
Strategy.Conda
Strategy.Conda.CondaList
Strategy.Conda.EnvironmentYml
Strategy.Erlang.ConfigParser
Strategy.Erlang.Rebar3Tree
Strategy.Glide
Strategy.Go.GlideLock
Strategy.Go.GoList
Strategy.Go.Gomod
Strategy.Go.GopkgLock
Strategy.Go.GopkgToml
Strategy.Go.Transitive
Strategy.Go.Types
Strategy.Godep
Strategy.Gomodules
Strategy.Googlesource.RepoManifest
Strategy.Gradle
Strategy.Haskell.Cabal
Strategy.Haskell.Stack
Strategy.Leiningen
Strategy.Maven
Strategy.Maven.Plugin
Strategy.Maven.PluginStrategy
Strategy.Maven.Pom
Strategy.Maven.Pom.Closure
Strategy.Maven.Pom.PomFile
Strategy.Maven.Pom.Resolver
Strategy.Node.NpmList
Strategy.Node.NpmLock
Strategy.Node.PackageJson
Strategy.Npm
Strategy.NuGet.Nuspec
Strategy.NuGet.PackageReference
Strategy.NuGet.PackagesConfig
Strategy.NuGet.Paket
Strategy.NuGet.ProjectAssetsJson
Strategy.NuGet.ProjectJson
Strategy.Python.Pipenv
Strategy.Python.ReqTxt
Strategy.Python.SetupPy
Strategy.Python.Setuptools
Strategy.Python.Util
Strategy.Rebar3
Strategy.RPM
Strategy.Ruby.BundleShow
Strategy.Ruby.GemfileLock
Strategy.Scala
Strategy.VSI
Strategy.Yarn
Strategy.Yarn.V1.YarnLock
Strategy.Yarn.V2.Lockfile
Strategy.Yarn.V2.Resolvers
Strategy.Yarn.V2.YarnLock
Text.URI.Builder
Types
VCS.Git
hs-source-dirs: src
executable fossa
import: lang
main-is: Main.hs
hs-source-dirs: app/fossa
build-depends: spectrometer
ghc-options: -threaded -with-rtsopts=-N
executable pathfinder
import: lang
main-is: Main.hs
hs-source-dirs: app/pathfinder
build-depends: spectrometer
ghc-options: -threaded -with-rtsopts=-N
test-suite unit-tests
import: lang
import: deps
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test.hs
-- cabal-fmt: expand test
other-modules:
App.Fossa.API.BuildLinkSpec
App.Fossa.Configuration.ConfigurationSpec
App.Fossa.ManualDepsSpec
App.Fossa.Report.AttributionSpec
App.Fossa.VPS.NinjaGraphSpec
Cargo.MetadataSpec
Carthage.CarthageSpec
Clojure.ClojureSpec
Cocoapods.PodfileLockSpec
Cocoapods.PodfileSpec
Composer.ComposerLockSpec
Conda.CondaListSpec
Conda.EnvironmentYmlSpec
Control.Carrier.DiagnosticsSpec
Discovery.FiltersSpec
Effect.ExecSpec
Erlang.ConfigParserSpec
Erlang.Rebar3TreeSpec
Extra.TextSpec
Fossa.API.TypesSpec
Go.GlideLockSpec
Go.GoListSpec
Go.GomodSpec
Go.GopkgLockSpec
Go.GopkgTomlSpec
Go.TransitiveSpec
Googlesource.RepoManifestSpec
Gradle.GradleSpec
GraphingSpec
GraphUtil
Haskell.CabalSpec
Haskell.StackSpec
Maven.PluginStrategySpec
Maven.PomStrategySpec
Node.NpmLockSpec
Node.PackageJsonSpec
NuGet.NuspecSpec
NuGet.PackageReferenceSpec
NuGet.PackagesConfigSpec
NuGet.PaketSpec
NuGet.ProjectAssetsJsonSpec
NuGet.ProjectJsonSpec
Python.PipenvSpec
Python.ReqTxtSpec
Python.RequirementsSpec
Python.SetupPySpec
RPM.SpecFileSpec
Ruby.BundleShowSpec
Ruby.GemfileLockSpec
Yarn.V2.LockfileSpec
Yarn.V2.ResolversSpec
Yarn.YarnLockV1Spec
build-tool-depends: hspec-discover:hspec-discover ^>=2.7.1
build-depends:
, hedgehog ^>=1.0.2
, hspec ^>=2.7.1
, hspec-core ^>=2.7.9
, hspec-expectations-pretty-diff ^>=0.7.2.5
, hspec-hedgehog ^>=0.0.1.2
, hspec-megaparsec ^>=2.1
, spectrometer