-
Notifications
You must be signed in to change notification settings - Fork 2
/
cabal-audit.cabal
127 lines (112 loc) · 2.69 KB
/
cabal-audit.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
cabal-version: 2.4
name: cabal-audit
version: 1.0.0.0
-- A short (one-line) description of the package.
synopsis: Checking a cabal project for security advisories
-- A longer description of the package.
description:
Tools for querying the haskell security advisories database against cabal projects.
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
license: BSD-3-Clause
author: @MangoIV
maintainer: [email protected]
-- A copyright notice.
-- copyright:
category: Data
extra-doc-files:
extra-source-files:
tested-with: GHC ==9.4.8 || ==9.6.6 || ==9.8.2
common common-all
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-fmax-relevant-binds=0 -fno-show-valid-hole-fits
if impl(ghc >=9.6.1)
ghc-options: -fno-show-error-context
default-extensions:
BlockArguments
DataKinds
DeriveGeneric
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
ImportQualifiedPost
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoStarIsType
OverloadedLists
OverloadedRecordDot
OverloadedStrings
PartialTypeSignatures
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
ViewPatterns
library
import: common-all
exposed-modules:
Control.Effect.Pretty
Distribution.Audit
Security.Advisories.Cabal
Security.Advisories.SBom.CycloneDX
Security.Advisories.SBom.Types
build-depends:
, aeson
, base <5
, bytestring
, Cabal
, cabal-install
, chronos
, colourista
, containers
, filepath
, fused-effects
, hsec-core
, hsec-tools
, http-client
, kan-extensions
, optparse-applicative
, pretty
, process
, sarif
, temporary
, text
, transformers
, unliftio
, uuid
, validation-selective
, vector
hs-source-dirs: src
default-language: Haskell2010
executable cabal-audit
import: common-all
hs-source-dirs: app
main-is: Main.hs
other-modules:
build-depends:
, base <5
, cabal-audit
default-language: Haskell2010
test-suite spec
import: common-all
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: Spec
build-depends:
, base <5
, cabal-audit
, hspec
default-language: Haskell2010